Skip to main content

Let Django play well with AngularJS

Project description

Let Django play well with AngularJS

Build Status PyPI version Python versions Software license Twitter Follow

Breaking News

In Django version 1.11, template-based widget rendering has been introduced. This gives us a lot more flexibility when rendering form widgets. However, django-angular had to be refactored and be adopted to this new API. I’d like to ask everybody to test the new branch https://github.com/jrief/django-angular/tree/features/django-1.11-support before releasing a next major version.

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.

Latest Changes

1.0.0 (2017-07-23)

  • Adopted for Django’s template-based widget rendering, introduced in version 1.11.

  • Drop support for Django 1.7, 1.8 and 1.9.

  • Fixed #270: Exception while rendering form using as_ul.

  • Removed templatetag {% csrf_value %}, since Django offers ab equivalent tag.

  • Fix file input css (remove the border) and add some documentation about common reported errors.

  • Remove support for bower in favor of npm.

License

Copyright © 2017

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-1.0.0.tar.gz (37.3 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