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.
This commit is contained in:
Bradley M. Kuhn 2014-07-14 11:49:03 -04:00
parent 61476fdb5c
commit 527ad3087f

View file

@ -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')),