mamweb/galerie/urls.py

15 lines
431 B
Python
Raw Normal View History

2015-10-11 18:01:38 +02:00
# coding: utf-8
from django.urls import path
2020-09-05 19:20:41 +02:00
from seminar.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