I am upgrading an old Django project from Django 1.8.3 to the current Django 1.11, but to be cautious, I am upgrading to each major release of Django along the way, so I can find errors & deprecations and fix them before taking the next step. (I haven't touched this code in almost two years, so I'm a little rusty; forgive me if I'm making a simple mistake.)
I first upgraded to Django 1.9.13 (the last before 1.10), and when I manage.py runserver
, I get this error:
/Users/mboszko/.virtualenvs/opticaldev/lib/python2.7/site-packages/django/utils/six.py:808: RemovedInDjango110Warning: SubfieldBase has been deprecated. Use Field.from_db_value instead.
return meta(name, bases, d)
If I'm reading this error right, the error stems from the custom version of six
that Django embeds. I have searched my code, and I don't seem to be using SubfieldBase
anywhere in my own code. (I have also googled, with not much success, for this particular error in six
.)
Is this just a situation where I should upgrade to Django 1.10, and the new version of six
in that package will be compatible, or is there something that I need to resolve myself before I upgrade?