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

Fixed syntax errors in the urlpatterns

parent 403b1c14
......@@ -3,9 +3,10 @@ from . import views
# url for forum
urlpatterns = [
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'),
path('', views.forum_view, name="forumposts"),
path('forumposts/add', views.ForumPostCreateView.as_view(), name="forumpost_add" ),
path('forumposts/<int:pk>/details', views.ForumPostDetailView.as_view(), name='forumpost_details'),
path('forumposts/<int:pk>/edit', views.ForumPostUpdateView.as_view(), name='forumpost_edit'),
]
]
\ No newline at end of file
app_name = "forum"
\ 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