Let Django play well with AngularJS
Project description
============== django-angular ==============
Let Django play well with AngularJS
0.7.11 (latest)
Using field.html_name instead of field.name. Otherwise add_prefix() function on form objects doesn’t work properly.
Fixed Firefox checkbox change sync issue caused by click and change firing in opposite order to other browsers. Switched to ng-change to normalise behaviour.
Moved rejected error cleanup logic into field.clearRejected method, so that it can be removed from anywhere that has access to the field.
Fixed issue in rejected error clean up loop.
Added missing subfield cleanup to rejected error cleanup loop.
Added AngularJS service djangoUrl to resolve URLs on the client in the same way as on the server.
Demo on how to combine Django with Angular’s form validation.
Detailed documentation on ReadTheDocs.
Please participate at this survey on naming conventions!
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.
Build status
License
Copyright © 2015 Jacob Rief.
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-0.7.11.tar.gz
.
File metadata
- Download URL: django-angular-0.7.11.tar.gz
- Upload date:
- Size: 31.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6752693429dc1f863eb2ad9c04933aa799f41b3c3ad497f07ca60a61e2a8968 |
|
MD5 | 6d51cf86ebef87894b1f1345dc17f94c |
|
BLAKE2b-256 | c34a1b7411bef1a5919299d827d7d3cce8dbc6b548b9af8e1397a2d6c328f231 |