4 ms·
Ha, I was just looking into something like this. Interestingly one approach is to use the django uni-form project with the {% form|as_uni_form %} filter. You c
by po 15y ago
Ha, I was just looking into something like this.
Interestingly one approach is to use the django uni-form project with the {% form|as_uni_form %} filter. You can then output whatever HTML you want. The https://github.com/kennethlove/django-uni-form-contrib https://github.com/kennethlove/django-uni-form-contrib project provides a good starting point for templates compatible with the bootstrap project but looking at it, there's still a lot to be desired and it looks somewhat inactive.
- huxley 15y agoOne factor might be that django uni-form is being replaced with django-crispy-forms[1], some functionality of django uni-form contrib is begin rolled into django crispy forms.[2] [1] https://github.com/maraujop/django-crispy-forms/ https://github.com/maraujop/django-crispy-forms/ [2] https://github.com/maraujop/django-crispy-forms/issues/5 https://github.com/maraujop/django-crispy-forms/issues/5