Commit af4641b0 authored by Jan Enzo Salvador's avatar Jan Enzo Salvador

Added the urls

parent e7e45afe
...@@ -3,5 +3,9 @@ from . import views ...@@ -3,5 +3,9 @@ from . import views
# url for forum # url for forum
urlpatterns = [ urlpatterns = [
path("", views.forumIndex, name="forumIndex"), path("", views.forum_view, name="forum"),
path('add', views.ForumPostCreateView.as_view(), name="forumpost_add" ),
path('<int:pk>/details', views.ForumPostDetailView.as_view(), name='forumpost_details'),
path('<int:pk>/edit', views.ForumPostUpdateView.as_view(), name='forumpost_edit'),
] ]
\ 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