From abf9ce8b92399a5a53e5e23816b31399ec2cf544 Mon Sep 17 00:00:00 2001 From: Tom Price Date: Fri, 24 Apr 2015 18:09:26 +0100 Subject: [PATCH] Fix for incorrect base_dir --- PyRIGS/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyRIGS/settings.py b/PyRIGS/settings.py index be95c45c..cdd7adc4 100644 --- a/PyRIGS/settings.py +++ b/PyRIGS/settings.py @@ -10,7 +10,7 @@ https://docs.djangoproject.com/en/1.7/ref/settings/ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) import os -BASE_DIR = os.path.dirname(os.path.abspath(__file__)) +BASE_DIR = os.path.dirname(os.path.dirname(__file__)) SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')