Set STATIC_ROOT
This commit is contained in:
parent
579f4c4b57
commit
9b3e26b1b1
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue