WiserTogether / django-remote-forms

A platform independent django form serializer
MIT License
221 stars 113 forks source link

Errors thrown when using IntegerField with choices attribute set #18

Open olivergeorge opened 10 years ago

olivergeorge commented 10 years ago

is_data_constrained = models.BigIntegerField(choices=INT_BOOL_CHOICES)

to_python() takes exactly 2 arguments (1 given)

django_remote_forms/utils.py in resolve_promise, line 21

Noting this here. Will come back and update once I've investigated.

olivergeorge commented 10 years ago

My work around.
https://github.com/condense/django-remote-forms/commit/3c695bfe152bca5902db02945a1376f259168e64

Seems like a bug.