Files @ 9c4697993e9b
Branch filter:

Location: website/www/conservancy/urls.py

bkuhn
FSA template is now publicly available online.
This is version is r6334 from Conservancy's internal repository.
FAQ has been appropriately updated to link to this.
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')),
    (r'^blog(/|$)', include('conservancy.apps.blog.urls')),
)