summaryrefslogtreecommitdiffstats
path: root/settings_local.py.dist
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-06-03 01:44:36 -0700
committerfadeev <fadeev@bacchus.bio.uci.edu>2010-06-03 01:45:30 -0700
commit02247d157b3da4d0711b8858bf758aefdf64c04d (patch)
treea3231ac1392bc815bdd75a1e2d0ed21fa94fbe4d /settings_local.py.dist
parent5dfebd5164518572b9f1c9822990ee476854304d (diff)
downloadaskbot-02247d157b3da4d0711b8858bf758aefdf64c04d.tar.gz
askbot-02247d157b3da4d0711b8858bf758aefdf64c04d.tar.bz2
askbot-02247d157b3da4d0711b8858bf758aefdf64c04d.zip
general debugging, still may be broken
Diffstat (limited to 'settings_local.py.dist')
-rwxr-xr-xsettings_local.py.dist5
1 files changed, 5 insertions, 0 deletions
diff --git a/settings_local.py.dist b/settings_local.py.dist
index 6294a28c..fc6815da 100755
--- a/settings_local.py.dist
+++ b/settings_local.py.dist
@@ -37,6 +37,11 @@ CACHE_BACKEND = 'dummy://'
#If you use memcache you may want to uncomment the following line to enable memcached based sessions
#SESSION_ENGINE = 'django.contrib.sessions.backends.cache_db'
+# for user upload
+
+ALLOW_FILE_TYPES = ('.jpg', '.jpeg', '.gif', '.bmp', '.png', '.tiff')
+# unit byte
+ALLOW_MAX_FILE_SIZE = 1024 * 1024
#email server settings
SERVER_EMAIL = ''