About Django Autocomplete Light with Forwarding and Django Crispy Forms
django-crispy-forms
overwrites the default field rendering, so to make the field forwarding of django-autocomplete-light
work with django-crispy-forms
, you need to call the rendering of forward configuration in the layout manually:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
|
See the rest of the code in the trick About Dependent Autocompletes.
Tips and Tricks Programming Django 5.x Django 4.2 Django 3.2 django-crispy-forms django-autocomplete-light
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django GDPR Cookie Consent app
For Django websites that use cookies.