fixing errors in calendar namespace part 1

parent 181ca089
......@@ -20,7 +20,7 @@
<p> {{ event.location }} </p>
</div>
<button onclick="window.location.href='{% url 'forum:forumpost-edit' pk=object.pk %}';">
<button onclick="window.location.href='{% url 'calendar:event-edit' pk=object.pk %}';">
Edit Activity
</button>
......
......@@ -3,7 +3,6 @@ from .views import index, EventDetailView, EventCreateView, EventUpdateView
urlpatterns = [
path('', index, name='index'),
path('calendar/', index, name='index'),
path('events/<int:pk>/details', EventDetailView.as_view(), name='event-details'),
path('events/add', EventCreateView.as_view(), name='event-add'),
path('events/<int:pk>/edit', EventUpdateView.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