update: modified urls to include a page of adding a forum post

parent eb4b81f1
...@@ -5,5 +5,6 @@ app_name = "forum" ...@@ -5,5 +5,6 @@ app_name = "forum"
urlpatterns = [ urlpatterns = [
path('', views.index, name="index"), path('', views.index, name="index"),
path('posts/<int:post_id>/details/', views.detail, name="detail"), path('posts/<int:post_id>/details/', views.detail, name="detail"),
path('posts/add/', views.add, name="add"),
# path('welcome', views.welcome, name='welcome') # path('welcome', views.welcome, name='welcome')
] ]
\ 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