comparison gpp/settings/base.py @ 513:9e7ae8462f3f

Using celery to send mail out of the request/response cycle.
author Brian Neal <bgneal@gmail.com>
date Tue, 13 Dec 2011 02:07:55 +0000
parents 3fd369e1197f
children 6d816aa586c1
comparison
equal deleted inserted replaced
512:3fd369e1197f 513:9e7ae8462f3f
217 ####################################################################### 217 #######################################################################
218 # GPP Specific Settings 218 # GPP Specific Settings
219 ####################################################################### 219 #######################################################################
220 GPP_LOG_LEVEL = 0 220 GPP_LOG_LEVEL = 0
221 GPP_SEND_EMAIL = True 221 GPP_SEND_EMAIL = True
222 MAILER_ENQUEUE_MAIL = True
223 GPP_NO_REPLY_EMAIL = 'no_reply' 222 GPP_NO_REPLY_EMAIL = 'no_reply'
224 AVATAR_DIR = 'avatars' 223 AVATAR_DIR = 'avatars'
225 MAX_AVATAR_SIZE_BYTES = 2 * 1024 * 1024 224 MAX_AVATAR_SIZE_BYTES = 2 * 1024 * 1024
226 MAX_AVATAR_SIZE_PIXELS = 100 225 MAX_AVATAR_SIZE_PIXELS = 100
227 AVATAR_DEFAULT_URL = MEDIA_URL + AVATAR_DIR + '/default.png' 226 AVATAR_DEFAULT_URL = MEDIA_URL + AVATAR_DIR + '/default.png'