mirror of
https://github.com/Rushilwiz/reinvest.git
synced 2025-04-05 13:00:19 -04:00
fix(backend): added STATIC_ROOT to settings.py
This commit is contained in:
parent
56fb861943
commit
2da01f8737
1
backend/.gitignore
vendored
1
backend/.gitignore
vendored
|
@ -151,3 +151,4 @@ dmypy.json
|
||||||
.vscode/*
|
.vscode/*
|
||||||
*.code-workspace
|
*.code-workspace
|
||||||
|
|
||||||
|
staticfiles/
|
||||||
|
|
|
@ -155,6 +155,7 @@ USE_TZ = True
|
||||||
# Static files (CSS, JavaScript, Images)
|
# Static files (CSS, JavaScript, Images)
|
||||||
# https://docs.djangoproject.com/en/3.1/howto/static-files/
|
# https://docs.djangoproject.com/en/3.1/howto/static-files/
|
||||||
|
|
||||||
|
STATIC_URL = '/static/'
|
||||||
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
|
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
|
||||||
|
|
||||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user