Fix static files
This commit is contained in:
parent
42c75015f9
commit
6d2612a5ec
|
@ -161,6 +161,10 @@ LOCALE_PATHS = [os.path.join(BASE_DIR, "locale")]
|
|||
|
||||
STATIC_URL = '/static/'
|
||||
|
||||
STATICFILES_DIRS = [
|
||||
os.path.join(BASE_DIR, "static"),
|
||||
]
|
||||
|
||||
MEDIA_URL = '/media/'
|
||||
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
|
||||
|
|
|
@ -13,7 +13,3 @@ DATABASES = {
|
|||
}
|
||||
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
|
||||
STATICFILES_DIRS = [
|
||||
os.path.join(BASE_DIR, "static"),
|
||||
]
|
||||
|
|
|
@ -14,8 +14,6 @@ DATABASES = {
|
|||
# Break it, fix it!
|
||||
DEBUG = False
|
||||
|
||||
STATIC_ROOT = "/code/static"
|
||||
|
||||
# Mandatory !
|
||||
ALLOWED_HOSTS = ['inscription.tfjm.org']
|
||||
|
||||
|
|
Loading…
Reference in New Issue