Fix blog RSS view

This commit is contained in:
Gergely Polonkai 2015-04-25 19:48:44 +00:00
parent 048b1a28b3
commit fc8442b2fc

View File

@ -1,5 +1,7 @@
from django.conf.urls import patterns, url
from django.views.generic import RedirectView
from django.core.urlresolvers import reverse_lazy
from blog import views
urlpatterns = patterns('',
@ -50,6 +52,6 @@ urlpatterns = patterns('',
),
url(
r'^feed$',
RedirectView.as_view(pattern_name='blog:feed')
RedirectView.as_view(url=reverse_lazy('blog:feed'))
),
)