diff --git a/scipost_django/forums/templates/forums/forum_detail.html b/scipost_django/forums/templates/forums/forum_detail.html index f503752807f48529eb7296eb017cc6211a3c5330..f4f6d769f8e3f749e5ea657fd8e7bbf56954ac90 100644 --- a/scipost_django/forums/templates/forums/forum_detail.html +++ b/scipost_django/forums/templates/forums/forum_detail.html @@ -213,7 +213,6 @@ <div class="col-12"> <h2 class="highlight" id="Posts">Posts</h2> <ul> - <li><a href="{% url 'forums:post_create' slug=forum.slug parent_model='forum' parent_id=forum.id %}">Add a new Post (old link)</a></li> <li> <div id="new-post-form"> {% include "forums/_hx_post_form_button.html" with slug=forum.slug parent_model='forum' parent_id=forum.id origin="new-post-form" target="thread-posts" text="Add a new Post" %} diff --git a/scipost_django/forums/urls.py b/scipost_django/forums/urls.py index 490cbf30a05756c5fd157a3dbe4767b1d34be744..563f69cb33aab1ec4e6e849de021f2895eb419e6 100644 --- a/scipost_django/forums/urls.py +++ b/scipost_django/forums/urls.py @@ -97,21 +97,11 @@ urlpatterns = [ ]), ), path("", views.ForumListView.as_view(), name="forums"), - path( - "<slug:slug>/post/<str:parent_model>/<int:parent_id>/add/", - views.PostCreateView.as_view(), - name="post_create", - ), path( "<slug:slug>/motion/<str:parent_model>/<int:parent_id>/add/", views.MotionCreateView.as_view(), name="motion_create", ), - path( - "<slug:slug>/post/<str:parent_model>/<int:parent_id>/add/confirm/", - views.PostConfirmCreateView.as_view(), - name="post_confirm_create", - ), path( "<slug:slug>/motion/<str:parent_model>/<int:parent_id>/add/confirm/", views.MotionConfirmCreateView.as_view(),