From 527ad3087fa7801856c91b3bfb4104bbb58e3b6a 2014-07-14 15:49:03 From: Bradley M. Kuhn Date: 2014-07-14 15:49:03 Subject: [PATCH] Additional argument was likely incorrect. Rereading https://docs.djangoproject.com/en/1.4/ref/contrib/syndication/ shows that the first argument should no longer be that class. --- diff --git a/www/conservancy/urls.py b/www/conservancy/urls.py index 7c1467452fe418c97ec7823a3b9cfb281da57527..4b7e2a5e337834042eca64cb5d9dceb7ab242126 100644 --- a/www/conservancy/urls.py +++ b/www/conservancy/urls.py @@ -28,9 +28,9 @@ admin.autodiscover() urlpatterns = patterns('', (r'^admin/doc/', include('django.contrib.admindocs.urls')), (r'^admin/(.*)', admin.site.urls), - (r'^feeds/blog/?$', 'django.contrib.syndication.views.Feed', BlogFeed()), - (r'^feeds/news/?$', 'django.contrib.syndication.views.Feed', PressReleaseFeed()), - (r'^feeds/omnibus/?$', 'django.contrib.syndication.views.Feed', OmnibusFeed()), + (r'^feeds/blog/?$', BlogFeed()), + (r'^feeds/news/?$', PressReleaseFeed()), + (r'^feeds/omnibus/?$', OmnibusFeed()), (r'^feeds/?$', 'conservancy.feeds.view'), (r'^news(/|$)', include('conservancy.apps.news.urls')), (r'^blog(/|$)', include('conservancy.apps.blog.urls')),