Commit 793c3116 authored by Ysabella Panghulan's avatar Ysabella Panghulan

Merge branch 'forumv2'

parents e51551c9 987985e7
......@@ -26,7 +26,7 @@
{% endfor %}
</ol>
</div>
<a href="../forumposts/add/" class="add-btn"><i class="fa fa-plus"></i> New Post</a>
<a href="forumposts/add/" class="add-btn"><i class="fa fa-plus"></i> New Post</a>
</div>
{% endblock %}
<div class="links">
......
......@@ -3,7 +3,7 @@ from .views import forum, ForumPostDetailView, ForumPostCreateView, ForumPostUpd
urlpatterns = [
path('', forum, name = "forum"),
path("forum/forumposts/<int:pk>/details/", ForumPostDetailView.as_view(), name = "forumpost-details"),
path('forum/forumposts/<int:pk>/details/', ForumPostDetailView.as_view(), name = "forumpost-details"),
path('forumposts/add', ForumPostCreateView.as_view(), name = "forumpost-add"),
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