Files @ a18e221dc6ce
Branch filter:

Location: website/www/conservancy/urls.py

bkuhn
Move email subscribe box to the front page only.

It just looked wrong up there on top of the page. I know that's what I
suggested to Paul to do it, but 11 months later, when I finally accepted his
merge request, it just didn't make sense.
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')),
)