django-multiselectfield
django-multiselectfield copied to clipboard
Support Django 2.0
Closes #74.
Coverage increased (+0.1%) to 92.0% when pulling 3ea4abc1af268de7a09ecb1d64e89c3cd6e2d3fb on blag:django-2.0 into 94ff6e1c3a8cb4cf636f1ccb62f50a5e792a27fd on goinnn:master.
Some of the comments on this question seem to indicate that this might be an error in the migration files.
If the main change is in multiselectfield/db/fields.py:105 value = self._get_val_from_obj(obj)
, it kind of makes sense that there might be a migration error somewhere.
I have some changes here that allow for the example app to run using django 2.0 and runserver. The tests still fail in the same way, but it might be a hint as to what is going wrong.
I upvoted this question which seems to have the same issue that we are running into. There's no solution posted.
May I ask what the status is of this branch?
@blag Isn't it value_from_object
rather than val_from_object
?
With Django 2.2, I get 'MultiSelectField' object has no attribute 'val_from_object'
...
Hi @blag , please check Travis errors, there seems to be several errors with some Django Version
It appears this has been fixed.
ping @goinnn / @blag . This can be closed?