Using django-angular with django-bootstrap3

I am using django-angular for a project and would like to use django-bootstrap3 with django forms. I want to show the angular template model in a template for which code:

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

To display it using django-bootstrap3, I used {% bootstrap_form form %}in my template, but this does not work as it should:

enter image description here

What can be done to make both teams work correctly?

+4
source share
1 answer

django- angular [1], . , django-angular Bootstrap3FormMixin, as_div, angular 3 . , {{ form.as_div }} ( django-bootstrap3 - ). , Bootstrap3FormMixin.

, , :

[1] django- angular β„– 51

[2] django- angular β„– 161

+4

All Articles