Home:ALL Converter>Django, Django-Angular and the Django Rest Framework

Django, Django-Angular and the Django Rest Framework

Ask Time:2015-05-26T00:22:18         Author:oowowaee

Json Formatter

We are getting started using Angular in our existing Django app, and I have seen mention of the Django Rest Framework as well as Django-Angular library. The DRF has been very easy to use, and seems to make a lot of sense when using a framework like Angular. That said, there also seem to be some great features available in the Django-Angular library - like being able to generate client side validation based on the server side validation rules.

But it seems like Django-Angular is really based on django forms, and the DRF is built around serializers. Is there any way to use these two together, and otherwise is there any way to automate client side validation rules based on DRF serializer validation rules?

Author:oowowaee,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/30442331/django-django-angular-and-the-django-rest-framework
yy