diff --git a/src/articles/urls.py b/src/articles/urls.py index 2f29b82..6ea461d 100644 --- a/src/articles/urls.py +++ b/src/articles/urls.py @@ -1,4 +1,5 @@ from django.urls import path +from django.views.generic import RedirectView from articles import views @@ -8,7 +9,8 @@ urlpatterns = [ path("search/", views.SearchArticlesListView.as_view(), name="search"), path("tag//feed/", views.TagFeed(), name="tag-feed"), path("tag//", views.TagArticlesListView.as_view(), name="tag"), - path("feed/", views.CompleteFeed(), name="complete-feed"), + path("feed/", RedirectView.as_view(url="/index.xml")), + path("index.xml", views.CompleteFeed(), name="complete-feed"), path( "api/render//", views.render_article,