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

Uploaded Source

File details

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

File metadata

  • Download URL: django-angular-1.1.tar.gz
  • Upload date:
  • Size: 156.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-angular-1.1.tar.gz
Algorithm Hash digest
SHA256 b30dac3e796421d3bac9180f6bc798b3e96ea27cbc78bf2165736e16e849878c
MD5 6917d108175ab238c27831dabe2caccd
BLAKE2b-256 4bdcc58ee03b79200d9a747e0c88052965d6cd851b982653c79ce33c9e91e304

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page