feat(settings): add STATICFILES_DIRS configuration
Added STATICFILES_DIRS to the Django settings to specify additional directories where Django will look for static files, apart from the static/ directory. This change allows for better organization and management of static files, specifically by including project-specific assets located in the coffeemachine/static directory. This update facilitates the development process by ensuring that static files are efficiently managed and served during development.
This commit is contained in:
parent
03a9d3be66
commit
a41468afee
1 changed files with 4 additions and 0 deletions
|
@ -119,6 +119,10 @@ USE_TZ = True
|
|||
|
||||
STATIC_URL = 'static/'
|
||||
|
||||
STATICFILES_DIRS = [
|
||||
BASE_DIR / "coffeemachine" / "static",
|
||||
]
|
||||
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field
|
||||
|
||||
|
|
Loading…
Reference in a new issue