Commit 35b254da authored by Ysabella Panghulan's avatar Ysabella Panghulan

added EventCreateView in urls.py

parent 9c950c55
from django.urls import path from django.urls import path
from . import views from . import views
from .views import (EventDetailView) from .views import (EventDetailView, EventCreateView)
urlpatterns = [ urlpatterns = [
path('', views.Calendar, name=''), path('', views.Calendar, name=''),
path('events/<int:pk>/details/', EventDetailView.as_view(), name='event-details'), path('events/<int:pk>/details/', EventDetailView.as_view(), name='event-details'),
path('events/add', EventCreateView.as_view(), name='event-add'),
] ]
\ 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