Make paths in settings.py "relative"

This commit is contained in:
Sebastian Lohff 2017-04-11 01:09:49 +02:00
parent a82b0d090e
commit 2af6d82058
1 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,7 @@ USE_L10N = True
USE_TZ = True
TEMPLATE_DIRS = (
'templates/',
os.path.join(BASE_DIR, 'templates/'),
)
@ -91,3 +91,4 @@ TEMPLATE_DIRS = (
# https://docs.djangoproject.com/en/1.7/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static/')