1
0
Fork 0

Set STATIC_ROOT

This commit is contained in:
Dece 2017-08-18 11:32:27 +02:00
parent 579f4c4b57
commit 9b3e26b1b1

View file

@ -10,7 +10,7 @@ DEBUG = False
SECRET_KEY = '' SECRET_KEY = ''
ALLOWED_HOSTS = ['idre.xyz', 'idre.shgck.io'] ALLOWED_HOSTS = ['idre.xyz']
ADMINS = ( ('Shgck', 'shgck@pistache.land'), ) ADMINS = ( ('Shgck', 'shgck@pistache.land'), )
@ -74,8 +74,9 @@ USE_TZ = True
MEDIA_ROOT = os.path.join(BASE_DIR, 'media') MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_URL = '/media/' MEDIA_URL = '/media/'
STATICFILES_DIRS = ( os.path.join(BASE_DIR, 'static'), ) STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATICFILES_DIRS = (STATIC_ROOT,)
TEMPLATES = [{ TEMPLATES = [{
'APP_DIRS': True, 'APP_DIRS': True,