Fix static files

This commit is contained in:
Yohann D'ANELLO 2020-05-05 07:34:41 +02:00
parent 42c75015f9
commit 6d2612a5ec
3 changed files with 4 additions and 6 deletions

View File

@ -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")

View File

@ -13,7 +13,3 @@ DATABASES = {
}
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]

View File

@ -14,8 +14,6 @@ DATABASES = {
# Break it, fix it!
DEBUG = False
STATIC_ROOT = "/code/static"
# Mandatory !
ALLOWED_HOSTS = ['inscription.tfjm.org']