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 hashes)

Uploaded Source

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