Skip to main content

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

Build Status Downloads

License

Copyright © 2015 Jacob Rief.

MIT licensed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-angular-0.7.11.tar.gz (31.9 kB view details)

Uploaded Source

File details

Details for the file django-angular-0.7.11.tar.gz.

File metadata

File hashes

Hashes for django-angular-0.7.11.tar.gz
Algorithm Hash digest
SHA256 c6752693429dc1f863eb2ad9c04933aa799f41b3c3ad497f07ca60a61e2a8968
MD5 6d51cf86ebef87894b1f1345dc17f94c
BLAKE2b-256 c34a1b7411bef1a5919299d827d7d3cce8dbc6b548b9af8e1397a2d6c328f231

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page