Friday, 13 September 2013

Use django's modelform validation with angularjs

Use django's modelform validation with angularjs

I have been asked to rewrite the admin dashboard that comes with Django
and make it into a single page app.
I am noob to angular and what I understand till now is that I will be
creating a form just like my admin-forms in the angular-project. This form
when post will interact with django using tasty-pie.
Is there a way through which I can create the forms in angular using
django's ModelForm ?
The idea here is that I can use all the existing forms in various apps
that exist in my project and re-use the ModelForm validation like clean().
Is this even possible ?

No comments:

Post a Comment