django-select-multiple-field icon indicating copy to clipboard operation
django-select-multiple-field copied to clipboard

RemovedInDjango110Warning: SubfieldBase has been deprecated. Use Field.from_db_value instead.

Open yohanboniface opened this issue 8 years ago • 4 comments

See https://docs.djangoproject.com/en/1.9/releases/1.8/#subfieldbase

That's just a warning in 1.9, but will become an error in 1.10.

1.10 will be released in August 2016 so we are not in a hurry ;)

yohanboniface avatar Mar 30 '16 08:03 yohanboniface

Cool

vipul-voonik avatar Apr 21 '16 13:04 vipul-voonik

Fix for this issue (and updated unittests): https://github.com/kelvinwong-ca/django-select-multiple-field/pull/16

matiasherranz avatar Jul 27 '16 20:07 matiasherranz

#18 seems a better fix, more complete, and with the addition of running the tests on Django 1.10. (but thanks @matiasherranz for having provided an early fix!)

@kelvinwong-ca any chance you could review it? We'll probably go with that branch for Ideascube, at least temporarily, since this is the last thing preventing us from moving to Django 1.10.

bochecha avatar Sep 09 '16 09:09 bochecha

After Upgrading to Django 1.10 the stack fails with:

from select_multiple_field.models import SelectMultipleField

File "/Users/acidjunk/.virtualenvs/dcim/lib/python2.7/site-packages/select_multiple_field/models.py", line 20, in class SelectMultipleField(six.with_metaclass(models.SubfieldBase, AttributeError: 'module' object has no attribute 'SubfieldBase'

Django 1.10 support would be nice.

acidjunk avatar Jan 16 '17 10:01 acidjunk