settings for using django-storages and s3boto

pull/1/head
Raymond Yee 2013-02-04 12:33:57 -08:00
parent 1461abca6b
commit f7cea12e12
1 changed files with 7 additions and 1 deletions

View File

@ -140,9 +140,10 @@ INSTALLED_APPS = (
'regluit.payment.templatetags',
'notification',
'ckeditor',
'storages',
# this must appear *after* django.frontend or else it overrides the
# registration templates in frontend/templates/registration
'django.contrib.admin',
'django.contrib.admin',
)
@ -305,3 +306,8 @@ class NONPROFIT:
# we should suppress Google Analytics outside of production
SHOW_GOOGLE_ANALYTICS = False
# to enable uploading to S3
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'