mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-24 17:42:23 +00:00
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
Block a user