Files @ 40133bb73b33
Branch filter:

Location: website/www/conservancy/apps/supporter/urls.py

brett
supporter: Remove bogus value for PayPal srt variable.

srt is meant to be used for time-limited subscriptions. 0 is not a valid
value. See
<https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#recurring-payment-variables>;.
It's optional, and leaving it unset gives us the behavior we want, so do
that instead.
from django.conf.urls import patterns

INDEX_VIEW = 'conservancy.apps.supporter.views.index'
pattern_pairs = [(r'^/?$', INDEX_VIEW)]
pattern_pairs.extend(
    (r'^{}(?:\.html|/|)$'.format(basename), INDEX_VIEW)
    for basename in ['index', '2015-supporter-appeal', '2016-supporter-appeal']
)
pattern_pairs.append((r'', 'conservancy.static.views.index'))

urlpatterns = patterns('', *pattern_pairs)