Fix BDS {MEDIA,STATIC}_{URL,ROOT}
This commit is contained in:
parent
df9639715b
commit
62d26560d9
1 changed files with 4 additions and 7 deletions
|
@ -15,13 +15,10 @@ ALLOWED_HOSTS = ["bds.ens.fr", "www.bds.ens.fr", "dev.cof.ens.fr"]
|
|||
|
||||
INSTALLED_APPS += ["bds", "events", "clubs", "authens"]
|
||||
|
||||
STATIC_ROOT = os.path.join(
|
||||
os.path.dirname(os.path.dirname(BASE_DIR)), "public", "gestion", "static"
|
||||
)
|
||||
|
||||
STATIC_URL = "/gestion/static/"
|
||||
MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), "media")
|
||||
MEDIA_URL = "/gestion/media/"
|
||||
STATIC_ROOT = "/srv/bds.ens.fr/public/gestion2/static"
|
||||
STATIC_URL = "/gestion2/static/"
|
||||
MEDIA_ROOT = "/srv/bds.ens.fr/gestion2/media"
|
||||
MEDIA_URL = "/gestion2/media/"
|
||||
|
||||
|
||||
# ---
|
||||
|
|
Loading…
Reference in a new issue