Skip to content
Snippets Groups Projects
urls.py 574 B
Newer Older
from csp.decorators import csp_replace
from django.urls import path, include
from . import views

app_name = "plan"

urlpatterns = [
    path(
        '<slug:event_slug>/plan/',
        include([
            path('', views.PlanIndexView.as_view(), name='plan_overview'),
            path('wall/', csp_replace(FRAME_ANCESTORS="*")(views.PlanScreenView.as_view()), name='plan_wall'),
            path('room/<int:pk>/', views.PlanRoomView.as_view(), name='plan_room'),
            path('track/<int:pk>/', views.PlanTrackView.as_view(), name='plan_track'),