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}),
|
|
|
|
(r'^feeds/$', 'conservancy.feeds.view'),
|
2010-09-26 21:56:29 +00:00
|
|
|
(r'^news/', include('conservancy.apps.news.urls')),
|
2010-10-04 14:54:09 +00:00
|
|
|
(r'^blog/', include('conservancy.apps.blog.urls')),
|
2010-09-26 21:20:05 +00:00
|
|
|
)
|