|
|
@ -3,14 +3,14 @@ from django.conf.urls import patterns, url |
|
|
|
from django.contrib.auth.decorators import user_passes_test |
|
|
|
from . import views, export |
|
|
|
from utils import staff_member_required |
|
|
|
from prednasky.views import newPrednaska, Prednaska |
|
|
|
from prednasky.views import newPrednaska, Prednaska_hotovo |
|
|
|
|
|
|
|
staff_member_required = user_passes_test(lambda u: u.is_staff) |
|
|
|
|
|
|
|
urlpatterns = [ |
|
|
|
# prednasky |
|
|
|
url(r'^prednasky/$', newPrednaska), |
|
|
|
url(r'^prednasky/hotovo$', Prednaska), |
|
|
|
url(r'^prednasky/hotovo$', Prednaska_hotovo), |
|
|
|
|
|
|
|
url(r'^co-je-MaM/organizatori/$', views.CojemamOrganizatoriView.as_view(), name='organizatori'), |
|
|
|
url(r'^co-je-MaM/organizatori/organizovali/$', views.CojemamOrganizatoriStariView.as_view(), name='stari_organizatori'), |
|
|
|