Skip to main content

Let Django play well with AngularJS

Project description

# django-angular

Let Django play well with AngularJS

[![Build Status](https://travis-ci.org/jrief/django-angular.svg?branch=master)](https://travis-ci.org/jrief/django-angular) [![PyPI version](https://img.shields.io/pypi/v/django-angular.svg)](https://pypi.python.org/pypi/django-angular) [![Python versions](https://img.shields.io/pypi/pyversions/django-angular.svg)](https://pypi.python.org/pypi/django-angular) [![Software license](https://img.shields.io/pypi/l/django-angular.svg)](https://github.com/jrief/django-angular/blob/master/LICENSE-MIT) [![Twitter Follow](https://img.shields.io/twitter/follow/jacobrief.svg?style=social&label=Jacob+Rief)](https://twitter.com/jacobrief)

## Breaking News

On 2017-07-23 django-angular version 1.0 has been released.

In Django version 1.11, template-based widget rendering has been introduced. This gives us a lot more flexibility when rendering form widgets. It however required to refactor the internal API of django-angular.

### Upcoming version 1.1

Please help me to test the next upcoming version of django-angular. It currently is in [review mode awaitng for user comments](https://github.com/jrief/django-angular/pull/303). Please check out [this branch](https://github.com/jrief/django-angular/tree/releases/1.1.x).

## Documentation

Detailed documentation on [ReadTheDocs](http://django-angular.readthedocs.org/en/latest/).

[Demo](http://django-angular.awesto.com/form_validation/) 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.1.tar.gz (156.4 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