Code Monkey home page Code Monkey logo

django-angular's Introduction

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

Let Django play well with AngularJS

0.7.13 (latest)

  • Change for Forms inheriting from NgFormBaseMixin using field_css_classes as dict: CSS classes specified as default now must explicitly be added to the fields defining their own CSS classes. Before this was implicit.
  • Added AngularJS directive djng-bind-if. See docs for details.
  • Reverted fix for FireFox checkbox change sync issue (#135) since it manipulated the DOM. Instead added scope.$apply() which fixes the issue on FF.
  • In BS3 styling, added CheckboxFieldRenderer to CheckboxInlineFieldRenderer (the default), so that forms with multiple checkbox input fields can be rendered as block items instead of inlines.
  • In BS3 styling, added RadioFieldRenderer to RadioInlineFieldRenderer (the default), so that forms with multiple radio input fields can be rendered as block items instead of inlines.
  • Fixed 'classic form' issue whereby ngModel was not being added to select of textarea elements, so returned errors where not displayed.

Demo on how to combine Django with Angular's form validation.

Detailed documentation on ReadTheDocs.

Please participate at this survey on naming conventions!

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.

Build status

Build Status Downloads

License

Copyright © 2015 Jacob Rief.

MIT licensed.

django-angular's People

Contributors

adrienbrunet avatar agdude avatar antonofthewoods avatar barraponto avatar casio avatar dangerski avatar dkopitsa avatar fabiomontefuscolo avatar fice avatar gentle avatar iynaix avatar jamesbrobb avatar jaxer avatar jkosir avatar jrief avatar k-funk avatar kmaschta avatar robbyt avatar rolo avatar sapphire64 avatar stav avatar thedrow avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.