1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-24 06:28:49 +02:00

Better static files

This commit is contained in:
Yohann D'ANELLO
2020-09-19 20:59:52 +02:00
parent 067a266997
commit dac4460c68
17 changed files with 6 additions and 180 deletions

View File

@ -50,6 +50,7 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'django.forms',
'bootstrap_datepicker_plus',
'django_extensions',
'polymorphic',
'crispy_forms',
@ -168,9 +169,11 @@ FIXTURE_DIRS = [os.path.join(BASE_DIR, "tfjm/fixtures")]
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
os.path.join(BASE_DIR, "tfjm/static"),
]
STATIC_ROOT = os.path.join(BASE_DIR, "static")
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, "media")