Skip to content

Utilities to make AngularJS play nice together with Django

License

Notifications You must be signed in to change notification settings

glynjackson/django-angular

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

Build Status

Installation

The latest stable release from PyPI:

pip install django-angular

or the current development release from github:

$ pip install -e git+https://github.com/jrief/django-angular.git#egg=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

Bitdeli Badge

About

Utilities to make AngularJS play nice together with Django

Resources

License

Stars

Watchers

Forks

Packages

No packages published