Commit ac543a51 authored by RJC's avatar RJC

added url endpoint for forumpostupdateview

parent 7a160a2b
...@@ -5,6 +5,7 @@ urlpatterns = [ ...@@ -5,6 +5,7 @@ urlpatterns = [
path('forum/', forum_post_list_view, name='forum_post_list_view'), path('forum/', forum_post_list_view, name='forum_post_list_view'),
path('forum/forumposts/<int:pk>/details/', ForumPostDetailView.as_view(), name='forumpostdetailview'), path('forum/forumposts/<int:pk>/details/', ForumPostDetailView.as_view(), name='forumpostdetailview'),
path('forum/forumposts/add/', ForumPostCreateView.as_view(), name='forumpostcreateview'), path('forum/forumposts/add/', ForumPostCreateView.as_view(), name='forumpostcreateview'),
path('forum/forumposts/<int:pk>/edit/', ForumPostUpdateView.as_view(), name='forumpostupdateview'),
] ]
app_name = 'forum' app_name = 'forum'
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