Commit 1d517f42 authored by Jan Ericsson Ong Ang's avatar Jan Ericsson Ong Ang

Edited urls.py

parent 1a590e13
...@@ -3,8 +3,8 @@ from . import views ...@@ -3,8 +3,8 @@ from . import views
# url for calendar # url for calendar
urlpatterns = [ urlpatterns = [
path('', views.calendar_view_view, name='calendar'), path('', views.calendar_view, name='calendar'),
path('add', views.EventAddListView.as_view(), name="event_add" ), path('add/', views.EventAddListView.as_view(), name="event_add" ),
path('<int:pk>/details', views.EventDetailView.as_view(), name='event_details'), path('<int:pk>/details/', views.EventDetailView.as_view(), name='event_details'),
path('<int:pk>/edit', views.EventEditView.as_view(), name='event_edit'), path('<int:pk>/edit/', views.EventEditView.as_view(), name='event_edit'),
] ]
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