Skip to main content

Reusable mixins classes and utility functions which help to integrate AngularJS with Django.

Project description

django-angular
==============

Utilities to let Django play nice together with AngularJS
---------------------------------------------------------

**NEW in 0.4.0**: Using CSRF protection for Ajax requests

You can find detailed documentation on `ReadTheDocs <http://django-angular.readthedocs.org/>`_

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.
and more to come ...

Build status
------------
.. image:: https://travis-ci.org/jrief/django-angular.png
:target: https://travis-ci.org/jrief/django-angular

Installation
------------
From pypi::

pip install django-angular

From github::

https://github.com/jrief/django-angular

License
-------
Copyright (c) 2013 Jacob Rief
Licensed under the MIT license.

Release History
---------------
* 0.4.0 - Removed @csrf_exempt on dispatch method for Ajax requests.
* 0.3.0 - Client side form validation for Django forms using AngularJS
* 0.2.2
* Removed now useless directive 'auto-label'. For backwards compatibility
see https://github.com/jrief/angular-shims-placeholder.
* 0.2.1
* Set Cache-Control: no-cache for Ajax GET requests.
* 0.2.0
* added handler to mixin class for ajax get requests.
* moved unit tests into testing directory.
* changed request.raw_post_data -> request.body.
* added possibility to pass get and post requests through to inherited view class.
* 0.1.4 - optimized CI process
* 0.1.3 - added first documents
* 0.1.2 - better packaging support
* 0.1.1 - fixed initial data in NgModelFormMixin
* 0.1.0 - initial revision

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.4.0.tar.gz (8.6 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