Mercurial > sat_legacy_website
comparison sat_website/views.py @ 147:d0cd185f9b61
replace apayer with liberapay
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 17 Oct 2017 06:01:01 +0200 |
parents | 2ec5653b190a |
children | b1c16cd53b62 |
comparison
equal
deleted
inserted
replaced
146:1ab868ec224a | 147:d0cd185f9b61 |
---|---|
107 form.process_submitted_data() | 107 form.process_submitted_data() |
108 if form.is_valid(): | 108 if form.is_valid(): |
109 category = 'thank_you' | 109 category = 'thank_you' |
110 else: | 110 else: |
111 form = forms.RegistrationForm(initial={'subscription_amount': 10, | 111 form = forms.RegistrationForm(initial={'subscription_amount': 10, |
112 'payment_method': 'transfer', | |
113 'mailing': True}) | 112 'mailing': True}) |
114 context['form'] = form | 113 context['form'] = form |
115 context.update(utils.get_asso_urls()) | 114 context.update(utils.get_asso_urls()) |
116 | 115 |
117 def all_keys(cats): | 116 def all_keys(cats): |