mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.conf.urls import patterns
 | |
| 
 | |
| from . import feeds
 | |
| 
 | |
| 
 | |
| urlpatterns = patterns('django.contrib.syndication.views',
 | |
|     (r'^syndication/complex/(?P<foo>.*)/$', feeds.ComplexFeed()),
 | |
|     (r'^syndication/rss2/$', feeds.TestRss2Feed()),
 | |
|     (r'^syndication/rss2/guid_ispermalink_true/$',
 | |
|         feeds.TestRss2FeedWithGuidIsPermaLinkTrue()),
 | |
|     (r'^syndication/rss2/guid_ispermalink_false/$',
 | |
|         feeds.TestRss2FeedWithGuidIsPermaLinkFalse()),
 | |
|     (r'^syndication/rss091/$', feeds.TestRss091Feed()),
 | |
|     (r'^syndication/no_pubdate/$', feeds.TestNoPubdateFeed()),
 | |
|     (r'^syndication/atom/$', feeds.TestAtomFeed()),
 | |
|     (r'^syndication/latest/$', feeds.TestLatestFeed()),
 | |
|     (r'^syndication/custom/$', feeds.TestCustomFeed()),
 | |
|     (r'^syndication/naive-dates/$', feeds.NaiveDatesFeed()),
 | |
|     (r'^syndication/aware-dates/$', feeds.TZAwareDatesFeed()),
 | |
|     (r'^syndication/feedurl/$', feeds.TestFeedUrlFeed()),
 | |
|     (r'^syndication/articles/$', feeds.ArticlesFeed()),
 | |
|     (r'^syndication/template/$', feeds.TemplateFeed()),
 | |
|     (r'^syndication/template_context/$', feeds.TemplateContextFeed()),
 | |
| )
 |