diff options
-rw-r--r-- | settings_production.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/settings_production.py b/settings_production.py index c0783c6..8129db1 100644 --- a/settings_production.py +++ b/settings_production.py @@ -17,7 +17,6 @@ DATABASES = { ALLOWED_HOSTS_FILE = os.path.join(DEPLOYMENT_DIR, "allowed_hosts.txt") SERVED_PATHS = [os.path.join(DEPLOYMENT_DIR, 'www')] UPLOAD_PATH = os.path.join(DEPLOYMENT_DIR, 'uploads') -FILE_UPLOAD_TEMP_DIR = '/srv/django-uploads' IP2LOCATION_FILE = os.path.join( DEPLOYMENT_DIR, 'IP-COUNTRY-REGION-CITY-ISP.BIN') @@ -34,10 +33,6 @@ if os.path.exists(os.path.join(DEPLOYMENT_DIR, 'header_override.html')): if os.path.exists(os.path.join(DEPLOYMENT_DIR, 'secrets.py')): execfile(os.path.join(DEPLOYMENT_DIR, 'secrets.py')) -# make sure django directory exists -if not os.path.isdir(FILE_UPLOAD_TEMP_DIR): - raise RuntimeError('Missing Django upload dir') - CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', |