aboutsummaryrefslogblamecommitdiffstats
path: root/ctrack/register/urls.py
blob: b6ee408a9be7259c861da484d04bc3c93cf2a3b0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                            





                                   

                     


               


                                                       
      
         


                                                               

         


                                                        

         
                                    
                                                 
                                         
      
 
from django.urls import path

from ctrack.register.views import (
    EngagementEventCreate,
    EngagementEventDelete,
    EngagementEventCreateFromCaf,
    SingleDateTimeEventCreate,
)

app_name = "register"

urlpatterns = [
    path(
        "engagement-event/create/from-org/<slug:slug>",
        view=EngagementEventCreate.as_view(),
        name="create",
    ),
    path(
        "engagement-event/delete/<int:pk>/for-org/<slug:slug>",
        view=EngagementEventDelete.as_view(),
        name="ee_delete",
    ),
    path(
        "engagement-event/create/from-caf/<int:caf_id>",
        view=EngagementEventCreateFromCaf.as_view(),
        name="create_from_caf",
    ),
    path(
        "event/create-simple-event",
        view=SingleDateTimeEventCreate.as_view(),
        name="event_create_simple_event",
    ),
]