website/www/conservancy/urls.py
Bradley M. Kuhn 12780197e5 Adapted Django application stuff for Conservancy; and normalized to string
"conservancy" within code and templates.
2010-09-26 17:56:29 -04:00

12 lines
397 B
Python

from django.conf.urls.defaults import *
from conservancy.feeds import feed_dict
handler404 = 'modpythoncustom.view404'
urlpatterns = patterns('',
(r'^$', 'conservancy.frontpage.view'),
(r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed',
{'feed_dict': feed_dict}),
(r'^feeds/$', 'conservancy.feeds.view'),
(r'^news/', include('conservancy.apps.news.urls')),
)