Add photostream
This commit is contained in:
parent
f04beb3aaa
commit
837e4fe693
4 changed files with 26 additions and 2 deletions
|
@ -9,6 +9,9 @@ urlpatterns = [
|
|||
# Main page
|
||||
path('', views.Main.as_view(), name='main_url'),
|
||||
|
||||
# Top kuvat
|
||||
path('photostream/', views.PhotosList.as_view(), name='photos_url'),
|
||||
|
||||
# Yksittäinen kuva albumissa:
|
||||
path('albums/<path:album_path>/<int:photo_slug>/', views.PhotoDetail.as_view(), name="photo_url"),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue