NEW in 0.4.0: Using CSRF protection for Ajax requests
You can find detailed documentation on ReadTheDocs
- Seamless integration of Django forms with AngularJS controllers.
- Client side form validation for Django forms using AngularJS.
- Let an AngularJS controller call methods in a Django view - kind of Javascript RPCs.
- Manage Django URLs for static controller files.
and more to come ...
From pypi:
pip install django-angular
From github:
https://github.com/jrief/django-angular
Copyright (c) 2013 Jacob Rief Licensed under the MIT license.
- 0.4.0 - Removed @csrf_exempt on dispatch method for Ajax requests.
- 0.3.0 - Client side form validation for Django forms using AngularJS
- 0.2.2
- Removed now useless directive 'auto-label'. For backwards compatibility see https://github.com/jrief/angular-shims-placeholder.
- 0.2.1
- Set Cache-Control: no-cache for Ajax GET requests.
- 0.2.0
- added handler to mixin class for ajax get requests.
- moved unit tests into testing directory.
- changed request.raw_post_data -> request.body.
- added possibility to pass get and post requests through to inherited view class.
- 0.1.4 - optimized CI process
- 0.1.3 - added first documents
- 0.1.2 - better packaging support
- 0.1.1 - fixed initial data in NgModelFormMixin
- 0.1.0 - initial revision