mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #9957: feeds now respect time zone information provided by the pub date.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
from feeds import TestRssFeed, TestAtomFeed, TestCustomFeed, ComplexFeed
|
||||
import feeds
|
||||
from django.conf.urls.defaults import patterns
|
||||
|
||||
feed_dict = {
|
||||
'complex': ComplexFeed,
|
||||
'rss': TestRssFeed,
|
||||
'atom': TestAtomFeed,
|
||||
'custom': TestCustomFeed,
|
||||
|
||||
'complex': feeds.ComplexFeed,
|
||||
'rss': feeds.TestRssFeed,
|
||||
'atom': feeds.TestAtomFeed,
|
||||
'custom': feeds.TestCustomFeed,
|
||||
'naive-dates': feeds.NaiveDatesFeed,
|
||||
'aware-dates': feeds.TZAwareDatesFeed,
|
||||
}
|
||||
urlpatterns = patterns('',
|
||||
(r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feed_dict})
|
||||
|
||||
Reference in New Issue
Block a user