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,
}
# Production settings have their own file to override stuff here
try:
LOCAL_SETTINGS
except NameError:
try:
from local_settings import * # noqa: F401,F403
except ImportError:
pass
DEFAULT_FILE_STORAGE = 'gapc_storage.storage.GoogleCloudStorage'
GAPC_STORAGE = {
'bucket': 'bucket',
'num_retries': 2,
}

View file

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