Mercurial > public > sg101
comparison gpp/settings.py @ 66:9a29e9933959
Donations: made the donations debug flag be in local_settings. Changed the donations template to be a two column display of stats and donors.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 27 Jun 2009 22:20:35 +0000 |
parents | 3767a6bc8d85 |
children | 8d391fe0ad64 |
comparison
equal
deleted
inserted
replaced
65:9fabeabd89d4 | 66:9a29e9933959 |
---|---|
158 MAX_AVATAR_SIZE_BYTES = 2 * 1024 * 1024 | 158 MAX_AVATAR_SIZE_BYTES = 2 * 1024 * 1024 |
159 MAX_AVATAR_SIZE_PIXELS = 100 | 159 MAX_AVATAR_SIZE_PIXELS = 100 |
160 AVATAR_DEFAULT_URL = MEDIA_URL + AVATAR_DIR + '/default.png' | 160 AVATAR_DEFAULT_URL = MEDIA_URL + AVATAR_DIR + '/default.png' |
161 | 161 |
162 # Donations application settings: | 162 # Donations application settings: |
163 DONATIONS_DEBUG = True | 163 DONATIONS_DEBUG = local_settings.DONATIONS_DEBUG |
164 DONATIONS_ITEM_NAME = 'Donation for SurfGuitar101.com' | 164 DONATIONS_ITEM_NAME = 'Donation for SurfGuitar101.com' |
165 DONATIONS_BUSINESS = 'brian@surfguitar101.com' | 165 DONATIONS_BUSINESS = 'brian@surfguitar101.com' |
166 DONATIONS_BUSINESS_DEBUG = local_settings.DONATIONS_BUSINESS_DEBUG | 166 DONATIONS_BUSINESS_DEBUG = local_settings.DONATIONS_BUSINESS_DEBUG |
167 DONATIONS_GOAL = Decimal('100.00') # monthly goal | 167 DONATIONS_GOAL = Decimal('100.00') # monthly goal |
168 DONATIONS_ANON_NAME = u'Anonymous' | 168 DONATIONS_ANON_NAME = u'Anonymous' |