Commit c6067b67 authored by Jan Ericsson Ong Ang's avatar Jan Ericsson Ong Ang

Edited urls.py

parent 60ec3ddf
......@@ -4,7 +4,8 @@ from . import views
# url for calendar
urlpatterns = [
path('', views.calendar_view, name='calendar'),
path('add/', views.EventAddListView.as_view(), name="event_add" ),
path('<int:pk>/details/', views.EventDetailView.as_view(), name='event_details'),
path('<int:pk>/edit/', views.EventEditView.as_view(), name='event_edit'),
path('add/', views.EventAddListView.as_view(), name="event-add"),
path('<int:pk>/details/', views.EventDetailView.as_view(), name='event-details'),
path('<int:pk>/edit/', views.EventEditView.as_view(), name='event-edit'),
]
app_name = "calendar"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment