zostera / django-bootstrap3

Bootstrap 3 integration with Django.
http://django-bootstrap3.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
2.34k stars 684 forks source link

Using django-angular with django-bootstrap3 #239

Closed vatsalj closed 9 years ago

vatsalj commented 9 years ago

Hi,

I wanted to show a ModelForm with django-angular mixins in bootstrap style, for which I used django-bootstrap3, but it the two don't seem to be working together properly:

image

My ModelForm is this:

class InfoForm(NgModelFormMixin, NgFormValidationMixin, NgModelForm):
    form_name = 'InfoForm'
    class Meta:
        model = models.InfoModel

What can be done to make django-bootstrap3 work well with django-angular forms?

dyve commented 9 years ago

I don't know. I wrote this library to be compatible with standard Django Forms, and to respect their settings. It look like the Angular Forms take another approach, and heavily modify or even replace standard Django forms.

Since I don't use the angular forms library, I won't be able to make a fix for this. Even if a pull request with a fix is submitted, I'll have to see if it is generic enough to be merged.

Thanks!

dyve commented 9 years ago

I'm closing this because I don't expect we'll be supporting other forms libraries