set STATIC_ROOT

This commit is contained in:
Pierre-antoine Comby 2020-02-25 22:14:56 +01:00
parent 25fc35c857
commit 2de5a8030e
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ FIXTURE_DIRS = [os.path.join(BASE_DIR, "note_kfet/fixtures")]
# Don't put anything in this directory yourself; store your static files # Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS. # in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/var/www/example.com/static/" # Example: "/var/www/example.com/static/"
STATIC_ROOT = os.path.realpath(__file__) STATIC_ROOT = os.path.join(BASE_DIR,"static/")
STATICFILES_DIRS = [ STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static')] os.path.join(BASE_DIR, 'static')]