Commit 5923066b authored by RJC's avatar RJC

added url endpoint for forumpostcreateview

parent d5e95047
...@@ -3,5 +3,8 @@ from .views import * ...@@ -3,5 +3,8 @@ from .views import *
urlpatterns = [ 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'),
] ]
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