diff gpp/settings.py @ 35:f77a1cdd7a46

Donations: first cut at a donations view and a form built for paypal.
author Brian Neal <bgneal@gmail.com>
date Sun, 07 Jun 2009 00:22:50 +0000
parents c018872385ea
children 296b610ee507
line wrap: on
line diff
--- a/gpp/settings.py	Thu Jun 04 02:22:55 2009 +0000
+++ b/gpp/settings.py	Sun Jun 07 00:22:50 2009 +0000
@@ -3,6 +3,8 @@
 import os
 import platform
 import local_settings
+from decimal import Decimal
+
 project_path = os.path.abspath(os.path.split(__file__)[0])
 
 DEBUG = local_settings.DEBUG
@@ -144,6 +146,13 @@
 MAX_AVATAR_SIZE_BYTES = 2 * 1024 * 1024
 MAX_AVATAR_SIZE_PIXELS = 100
 AVATAR_DEFAULT_URL = MEDIA_URL + AVATAR_DIR + '/default.png'
+DONATIONS_ITEM_NAME = 'Donation for SurfGuitar101.com'
+DONATIONS_BUSINESS = 'brian@surfguitar101.com'
+DONATIONS_BUSINESS_DEBUG = 'brian@surfguitar101.com'
+DONATIONS_GOAL = Decimal('100.00')  # montly goal
+DONATIONS_ANON_NAME = u'Anonymous'
+DONATIONS_ITEM_NUM = 500            # donation w/name listed
+DONATIONS_ITEM_ANON_NUM = 501       # donation listed as anonymous
 
 # URL's of 3rd party Javascript and CSS files.
 # These dictionaries are used by core/templatetags/script_tags, and
@@ -185,4 +194,3 @@
     ),
 }
 
-# vim: ts=4 sw=4