Add redir model, remove children albums
This commit is contained in:
parent
684982eca5
commit
1dbd1c1779
9 changed files with 84 additions and 23 deletions
|
@ -11,5 +11,5 @@ urlpatterns = [
|
|||
path('albums/<path:album_slug>/<int:photo_slug>/', views.PhotoDetail.as_view(), name='photo_url'),
|
||||
path('albums/<path:album_slug>/', views.AlbumDetail.as_view(), name='album_url'),
|
||||
path('albums/', views.AlbumsList.as_view(), name='albums_url'),
|
||||
|
||||
path('<path:redir_path>/', views.redirect_to_album, name='redirect_to_album'),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue