2010-09-26 21:20:05 +00:00
|
|
|
from django.conf.urls.defaults import *
|
|
|
|
from conservancy.feeds import feed_dict
|
|
|
|
|
|
|
|
handler404 = 'modpythoncustom.view404'
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
(r'^$', 'conservancy.frontpage.view'),
|
2010-10-05 14:45:50 +00:00
|
|
|
(r'^feeds/(?P<url>.*)/?$', 'django.contrib.syndication.views.feed',
|
2010-09-26 21:20:05 +00:00
|
|
|
{'feed_dict': feed_dict}),
|
2010-10-11 20:29:20 +00:00
|
|
|
(r'^feeds/?$', 'conservancy.feeds.view'),
|
|
|
|
(r'^news(/|$)', include('conservancy.apps.news.urls')),
|
|
|
|
(r'^blog(/|$)', include('conservancy.apps.blog.urls')),
|
2010-09-26 21:20:05 +00:00
|
|
|
)
|