feat: Adds STATIC_ROOT for static files collection
Configures the STATIC_ROOT setting to specify the directory where static files should be collected. Facilitates deployment by allowing Django to gather static files in one location for serving, aligning with Django's static files management guidelines.
This commit is contained in:
parent
15ccc877ae
commit
7c4022e764
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ USE_TZ = True
|
|||
# https://docs.djangoproject.com/en/5.1/howto/static-files/
|
||||
|
||||
STATIC_URL = "static/"
|
||||
STATIC_ROOT = BASE_DIR / "static"
|
||||
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field
|
||||
|
|
Loading…
Reference in a new issue