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:
Kumi 2024-06-05 16:59:10 +02:00
parent 03a9d3be66
commit a41468afee
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -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