Add redir model, remove children albums

This commit is contained in:
Nyymix 2025-01-20 21:21:09 +02:00
parent 684982eca5
commit 1dbd1c1779
9 changed files with 84 additions and 23 deletions

View file

@ -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'),
]