mirror of
https://github.com/django/django.git
synced 2025-01-19 23:02:20 +00:00
a2be52fd2a
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
17 lines
489 B
Python
17 lines
489 B
Python
from django.conf.urls.defaults import *
|
|
from feeds import TestGeoRSS1, TestGeoRSS2, TestGeoAtom1, TestGeoAtom2, TestW3CGeo1, TestW3CGeo2, TestW3CGeo3
|
|
|
|
feed_dict = {
|
|
'rss1' : TestGeoRSS1,
|
|
'rss2' : TestGeoRSS2,
|
|
'atom1' : TestGeoAtom1,
|
|
'atom2' : TestGeoAtom2,
|
|
'w3cgeo1' : TestW3CGeo1,
|
|
'w3cgeo2' : TestW3CGeo2,
|
|
'w3cgeo3' : TestW3CGeo3,
|
|
}
|
|
|
|
urlpatterns = patterns('',
|
|
(r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feed_dict})
|
|
)
|