Store user files in GCS - Ephemeral Disks

Issue #2
This commit is contained in:
Sachi King 2017-03-30 19:29:04 +11:00
parent 0fddbf9f9b
commit d658f8fb74
2 changed files with 6 additions and 8 deletions

View file

@ -328,11 +328,8 @@ SAML_CONFIG = {
'valid_for': 1, 'valid_for': 1,
} }
# Production settings have their own file to override stuff here DEFAULT_FILE_STORAGE = 'gapc_storage.storage.GoogleCloudStorage'
try: GAPC_STORAGE = {
LOCAL_SETTINGS 'bucket': 'bucket',
except NameError: 'num_retries': 2,
try: }
from local_settings import * # noqa: F401,F403
except ImportError:
pass

View file

@ -11,6 +11,7 @@ raven==5.27.0
django-debug-toolbar==1.6 django-debug-toolbar==1.6
djangosaml2 djangosaml2
-e git+https://github.com/nakato/django-gapc-storage.git@master#egg=django-gapc-storage
# database # database
mysqlclient>=1.3.3 mysqlclient>=1.3.3