Let Django play well with AngularJS
On 2017-08-14 django-angular version 1.1 has been released.
This version introduces file- and image uploads through Ajax form submissions.
If you create Angular forms from Django models, nothing changes.
If you create Angular forms using the provided mixin classes, then you must use the corresponding fields as provided by django-angular. This keeps the API cleaner and prevents dynamic class tweaks.
Detailed documentation on ReadTheDocs.
Demo on how to combine Django with Angular's form validation.
Please drop me a line, if and where you use this project.
- 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.
- Three way data binding to connect AngularJS models with a server side message queue.
- Perform basic CRUD operations.
A next big change to django-angular is to add support for Angular2 and/or 4. This will require additional development time from my side, so please consider to fund this and other upcoming features using Gratipay.
- Instead of adding extra functionality to Django's form fields via inheritance magic, now one must
use the corresponding field classes from
djng.forms.fields
if its own form class inheritis fromNgForm
orNgModelForm
. - Added support to upload files and images via Ajax.
Copyright © 2017
MIT licensed