mamweb/galerie/urls.py

13 lines
417 B
Python
Raw Normal View History

from django.urls import path
2024-08-05 11:46:38 +02:00
from personalni.utils import org_required
2016-01-09 17:28:20 +01:00
from . import views
2015-10-11 18:01:38 +02:00
2016-01-09 17:28:20 +01:00
urlpatterns = [
path('<int:pk>/', views.nahled),
path('<int:pk>/<int:fotka>/', views.detail),
2020-09-05 19:20:41 +02:00
path('<int:galerie>/new/', org_required(views.new_galerie)),
2020-09-12 17:41:20 +02:00
path('<int:galerie>/plus/<int:subgalerie>/', org_required(views.plus_galerie)),
path('<int:galerie>/minus/<int:subgalerie>/', org_required(views.minus_galerie)),
2016-01-09 17:28:20 +01:00
]
2015-10-11 18:01:38 +02:00