From 1b75896e8161a8ba0f8ce4fd78095d37bff6c676 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 30 Dec 2020 11:34:40 +0100 Subject: [PATCH] Append slash to articles (redirect) --- blog/urls.py | 1 - 1 file changed, 1 deletion(-) diff --git a/blog/urls.py b/blog/urls.py index 989000a..2e00981 100644 --- a/blog/urls.py +++ b/blog/urls.py @@ -33,7 +33,6 @@ urlpatterns = [ path("drafts/", html.DraftsListView.as_view(), name="drafts-list"), path("feed/", feeds.CompleteFeed(), name="complete-feed"), path("api/render//", api.render_article, name="api-render-article"), - path("", html.ArticleDetailView.as_view(), name="article-detail-old"), path("/", html.ArticleDetailView.as_view(), name="article-detail"), ]