Commit 66458d77 authored by Ysabella Panghulan's avatar Ysabella Panghulan

fixed urls and links name format

parent 2b959310
...@@ -3,7 +3,7 @@ from .views import forum, ForumPostDetailView, ForumPostCreateView, ForumPostUpd ...@@ -3,7 +3,7 @@ from .views import forum, ForumPostDetailView, ForumPostCreateView, ForumPostUpd
urlpatterns = [ urlpatterns = [
path('', forum, name = "forum"), path('', forum, name = "forum"),
path('forum/forumposts/<int:pk>/details/', ForumPostDetailView.as_view(), name = "forumpost-details"), path('forumposts/<int:pk>/details/', ForumPostDetailView.as_view(), name = "forumpost-details"),
path('forumposts/add', ForumPostCreateView.as_view(), name = "forumpost-add"), path('forumposts/add', ForumPostCreateView.as_view(), name = "forumpost-add"),
path('forumposts/<int:pk>/edit', ForumPostUpdateView.as_view(), name = "forumpost-edit") path('forumposts/<int:pk>/edit', ForumPostUpdateView.as_view(), name = "forumpost-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