jrief / django-angular

Let AngularJS play well with Django
http://django-angular.awesto.com/
MIT License
1.23k stars 294 forks source link

Fixed a bug in NgModelFormMixin.get_form_data() #247

Closed jrief closed 8 years ago

jrief commented 8 years ago

Using and ... or ... as ternary operator can have unwanted side effects when working with booleans. I therefore changed those occurrences to ... if ... else .... The patch is already committed, and this issue is only for information. Will be released with 0.8.1

adrienbrunet commented 8 years ago

Yep, way better that way. And it's more readable!

jrief commented 8 years ago

Fixed in 0.8.1