Byrokracie Sklené 2023
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
696 B

from django.conf import settings
from django.contrib.auth.decorators import login_required
from django.urls import path
from . import views
urlpatterns = [
path("", login_required(views.hra_view), name="hra"),
path("stanoviste/", login_required(views.StatickeStanovisteView.as_view()), name="stanoviste"),
path("tym/", login_required(views.TymView.as_view()), name="tym"),
path("tym/<int:stanoviste>/<str:my_hash>/", login_required(views.StanovisteZPohleduTymu.as_view()), name="tym"),
path("timeout/", views.TimeoutViwe.as_view(), name="timeout"),
]
if settings.DEBUG:
urlpatterns.append(path("stanoviste/<int:stanoviste>/", views.StatickeStanovisteView.as_view(), name="stanoviste"),)