Commit d2bf0dbb authored by N1o9r4b7e9r6to's avatar N1o9r4b7e9r6to

changed link format according to required in lab specs

parent 8ac5d3e9
...@@ -2,8 +2,8 @@ from django.urls import path ...@@ -2,8 +2,8 @@ from django.urls import path
from .views import forumposts, DisplayPostdetails from .views import forumposts, DisplayPostdetails
urlpatterns = [ urlpatterns = [
path('', forumposts, name="post"), path('forum/', forumposts, name="post"),
path('posts/<int:post_id>/details/', DisplayPostdetails, name='DisplayPostdetails'), path('posts/<int:post_id>/details', DisplayPostdetails, name='DisplayPostdetails'),
] ]
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