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

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


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.1.3.tar.gz (157.2 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-angular-1.1.3.tar.gz
Algorithm Hash digest
SHA256 bdde8fbb123005a2f5a2bc419aad05decc0a76312d8ac76ef49eeba062942eac
MD5 fca338382d4dac59304d7d067bd9b19e
BLAKE2b-256 33411fda6c200971992c338d312cbbeec804b65c78c420c6563854eb43b087eb

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