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:
parent
61476fdb5c
commit
527ad3087f
1 changed files with 3 additions and 3 deletions
|
@ -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')),
|
||||
|
|
Loading…
Reference in a new issue