Move blog feed to /blog/atom.xml

This is to comply with non-written standards.
This commit is contained in:
Gergely Polonkai 2015-03-12 14:29:37 +01:00
parent 417509512f
commit b8f5f11034

View File

@ -1,4 +1,5 @@
from django.conf.urls import patterns, url
from django.views.generic import RedirectView
from blog import views
urlpatterns = patterns('',
@ -43,8 +44,12 @@ urlpatterns = patterns('',
name = 'codechunk'
),
url(
r'^feed$',
r'^atom.xml$',
views.feed,
name = 'feed'
),
url(
r'^feed$',
RedirectView.as_view(pattern_name='blog:feed')
),
)