Let Django play well with AngularJS
Project description
Let Django play well with AngularJS
Breaking News
On 2017-08-14 django-angular version 1.1 has been released.
This version introduces file- and image uploads through Ajax form submissions.
Backward Incompatibility
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.
Documentation
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.
Features
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.
Future Plans
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.
Latest Changes
1.1 (2017-08-17)
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 from NgForm or NgModelForm.
Added support to upload files and images via Ajax.
License
Copyright © 2017
MIT licensed
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-angular-1.1.2.tar.gz
.
File metadata
- Download URL: django-angular-1.1.2.tar.gz
- Upload date:
- Size: 157.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bef08c170c4f61612adc12212f68c94a4bb91d470f87da9c744167893e301c93 |
|
MD5 | 8ed6b6cc2495fcab04fd978ddee1de79 |
|
BLAKE2b-256 | 13090fe36c18ed15f8c7402dcb15cb128be27f6fbd0861559d06719b954655e4 |