Append slash to articles (redirect)
This commit is contained in:
parent
4ef93a913b
commit
1b75896e81
1 changed files with 0 additions and 1 deletions
|
@ -33,7 +33,6 @@ urlpatterns = [
|
||||||
path("drafts/", html.DraftsListView.as_view(), name="drafts-list"),
|
path("drafts/", html.DraftsListView.as_view(), name="drafts-list"),
|
||||||
path("feed/", feeds.CompleteFeed(), name="complete-feed"),
|
path("feed/", feeds.CompleteFeed(), name="complete-feed"),
|
||||||
path("api/render/<int:article_pk>/", api.render_article, name="api-render-article"),
|
path("api/render/<int:article_pk>/", api.render_article, name="api-render-article"),
|
||||||
path("<slug:slug>", html.ArticleDetailView.as_view(), name="article-detail-old"),
|
|
||||||
path("<slug:slug>/", html.ArticleDetailView.as_view(), name="article-detail"),
|
path("<slug:slug>/", html.ArticleDetailView.as_view(), name="article-detail"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Reference in a new issue