mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-24 11:13:44 +03:00
17 lines
425 B
Python
17 lines
425 B
Python
from django.urls import path
|
|
|
|
from akarpov.gallery.views import (
|
|
collection_view,
|
|
image_view,
|
|
list_collections_view,
|
|
list_tag_images_view,
|
|
)
|
|
|
|
app_name = "gallery"
|
|
urlpatterns = [
|
|
path("", list_collections_view, name="list"),
|
|
path("<str:slug>", collection_view, name="collection"),
|
|
path("tag/<str:slug>", list_tag_images_view, name="tag"),
|
|
path("image/<str:slug>", image_view, name="view"),
|
|
]
|