Mercurial > public > sg101
comparison gpp/settings.py @ 36:296b610ee507
Added IPN logic to the donations module. Added a thank-you view. Need to add logging to the IPN function.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 11 Jun 2009 00:54:44 +0000 |
parents | f77a1cdd7a46 |
children | c14cfd6be87a |
comparison
equal
deleted
inserted
replaced
35:f77a1cdd7a46 | 36:296b610ee507 |
---|---|
144 GPP_NO_REPLY_EMAIL = 'no_reply' | 144 GPP_NO_REPLY_EMAIL = 'no_reply' |
145 AVATAR_DIR = 'avatars' | 145 AVATAR_DIR = 'avatars' |
146 MAX_AVATAR_SIZE_BYTES = 2 * 1024 * 1024 | 146 MAX_AVATAR_SIZE_BYTES = 2 * 1024 * 1024 |
147 MAX_AVATAR_SIZE_PIXELS = 100 | 147 MAX_AVATAR_SIZE_PIXELS = 100 |
148 AVATAR_DEFAULT_URL = MEDIA_URL + AVATAR_DIR + '/default.png' | 148 AVATAR_DEFAULT_URL = MEDIA_URL + AVATAR_DIR + '/default.png' |
149 | |
150 # Donations application settings: | |
151 DONATIONS_DEBUG = True | |
149 DONATIONS_ITEM_NAME = 'Donation for SurfGuitar101.com' | 152 DONATIONS_ITEM_NAME = 'Donation for SurfGuitar101.com' |
150 DONATIONS_BUSINESS = 'brian@surfguitar101.com' | 153 DONATIONS_BUSINESS = 'brian@surfguitar101.com' |
151 DONATIONS_BUSINESS_DEBUG = 'brian@surfguitar101.com' | 154 DONATIONS_BUSINESS_DEBUG = 'brian@surfguitar101.com' |
152 DONATIONS_GOAL = Decimal('100.00') # montly goal | 155 DONATIONS_GOAL = Decimal('100.00') # montly goal |
153 DONATIONS_ANON_NAME = u'Anonymous' | 156 DONATIONS_ANON_NAME = u'Anonymous' |