mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
942e5246ac
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
14 lines
376 B
Python
14 lines
376 B
Python
from feeds import TestRssFeed, TestAtomFeed, TestCustomFeed, ComplexFeed
|
|
from django.conf.urls.defaults import patterns
|
|
|
|
feed_dict = {
|
|
'complex': ComplexFeed,
|
|
'rss': TestRssFeed,
|
|
'atom': TestAtomFeed,
|
|
'custom': TestCustomFeed,
|
|
|
|
}
|
|
urlpatterns = patterns('',
|
|
(r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feed_dict})
|
|
)
|