- commit
- 0145981d18ddfe2c92c557653ebcd13949294501
- parent
- e269d22860e653a189470f749831bad2d2f95003
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2025-10-14 14:10
document required_css_class difference
Diffstat
| M | README.md | 3 | +++ |
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
@@ -61,6 +61,8 @@ Differences to django-bootstrap5 61 61 features. 62 62 - Uses `.form-text.text-danger` instead of `.invalid-feedback` as it does not 63 63 depend on DOM location. (see also [twbs/bootstrap\#29439]) -1 64 - Uses [Django's `required_css_class`] -1 65 which is defined on the `Form` class and added to the `<label>`. 64 66 - Does not use `.is-valid` because I find it confusing with server-side 65 67 rendering. 66 68 - Does not include dismiss-buttons for alerts to avoid depending on @@ -73,3 +75,4 @@ Differences to django-bootstrap5 73 75 [widget templates]: https://docs.djangoproject.com/en/stable/ref/forms/renderers/#overriding-built-in-widget-templates 74 76 [django-bootstrap5]: https://github.com/zostera/django-bootstrap5 75 77 [twbs/bootstrap\#29439]: https://github.com/twbs/bootstrap/issues/29439 -1 78 [Django's `required_css_class`]: https://docs.djangoproject.com/en/stable/ref/forms/api/#django.forms.Form.required_css_class