django-crispy-forms / django-crispy-forms/django-crispy-forms
Docs for `|crispy` filter imply you can call it with kwargs, is this a mistake?
- Dominant language
- Python
- Stars
- 5.2k
- Forks
- 731
- PR merge metrics
- No merged PRs in 30d
Description
* Package version: 1.11.2
* Django version: 3.1
* Python version: 3.7
* Template pack: bootstrap3
### Description:
The docs for the `crispy` filter say
https://github.com/django-crispy-forms/django-crispy-forms/blob/425b9182a501910746c2d6f34e0e5bab36984fd6/crispy_forms/templatetags/crispy_forms_filters.py#L43-L47
The function itself that implements the filter does accept those args `label_class` and `field_class`: https://github.com/django-crispy-forms/django-crispy-forms/blob/425b9182a501910746c2d6f34e0e5bab36984fd6/crispy_forms/templatetags/crispy_forms_filters.py#L28-L30
Is there any valid way to invoke the filter like that in Django templates? It looks like invalid syntax to me
Contributor guide
Assessment
This issue has not been assessed yet.