Fixed Calendar URLs

parent fd2e88c0
...@@ -4,11 +4,11 @@ from .views import (index, EventDetailView, EventAddView, EventUpdateView) ...@@ -4,11 +4,11 @@ from .views import (index, EventDetailView, EventAddView, EventUpdateView)
urlpatterns = [ urlpatterns = [
path('', index, name='index'), path('', index, name='index'),
path('widget_Calendar/Events/<int:pk>/details', EventDetailView.as_view(), path('events/<int:pk>/details/', EventDetailView.as_view(),
name='event-detail'), name='event-detail'),
path('widget_Calendar/Events/add/', EventAddView.as_view(), path('events/add/', EventAddView.as_view(),
name='event-add'), name='event-add'),
path('widget_Calendar/Events/<int:pk>/edit/', EventUpdateView.as_view(), path('events/<int:pk>/edit/', EventUpdateView.as_view(),
name='event-edit') 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