- Change for
Form
s inheriting fromNgFormBaseMixin
usingfield_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
toCheckboxInlineFieldRenderer
(the default), so that forms with multiple checkbox input fields can be rendered as block items instead of inlines. - In BS3 styling, added
RadioFieldRenderer
toRadioInlineFieldRenderer
(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 toselect
oftextarea
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.
- 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.
Copyright © 2015 Jacob Rief.
MIT licensed.