From fc8442b2fc291d848db8c1a984f0f0a2547db86b Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sat, 25 Apr 2015 19:48:44 +0000 Subject: [PATCH] Fix blog RSS view --- blog/urls.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blog/urls.py b/blog/urls.py index 017680c..d7314b3 100644 --- a/blog/urls.py +++ b/blog/urls.py @@ -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')) ), )