Update README.md

This commit is contained in:
Dylan Castillo 2024-01-12 17:29:43 +01:00 committed by Emil Stenström
parent ec656f25cb
commit 864c85b067

View file

@ -523,7 +523,7 @@ only if the slot 'subtitle' is _not_ filled.
### Setting Up `ComponentDependencyMiddleware`
`ComponentDependencyMiddleware` is a Django middleware designed to manage and inject CSS/JS dependencies for rendered components dynamically. It ensures that the necessary stylesheets and scripts are loaded in your HTML responses, based on the components used in your Django templates.
`ComponentDependencyMiddleware` is a Django middleware designed to manage and inject CSS/JS dependencies for rendered components dynamically. It ensures that only the necessary stylesheets and scripts are loaded in your HTML responses, based on the components used in your Django templates.
To set it up, add the middleware to your `MIDDLEWARE` in settings.py: