```
/Users/coredev/.virtualenvs/newdjango/lib/python3.4/site-
packages/django/utils/six.py:808: RemovedInDjango110Warning: SubfieldBase
has been deprecated. Use Field.from_db_value instead.
```
--
Ticket URL: <https://code.djangoproject.com/ticket/26425>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Old description:
> Using Django 1.9.4, Python 3.4.2, when performing a `runserver` command,
> the following warning is displayed in the output:
>
> ```
> /Users/coredev/.virtualenvs/newdjango/lib/python3.4/site-
> packages/django/utils/six.py:808: RemovedInDjango110Warning: SubfieldBase
> has been deprecated. Use Field.from_db_value instead.
> ```
New description:
Using Django 1.9.4, Python 3.4.2, when performing a `runserver` command,
the following warning is displayed in the output:
`/Users/coredev/.virtualenvs/newdjango/lib/python3.4/site-
packages/django/utils/six.py:808: RemovedInDjango110Warning: SubfieldBase
has been deprecated. Use Field.from_db_value instead.`
--
--
Ticket URL: <https://code.djangoproject.com/ticket/26425#comment:1>
Comment (by timgraham):
I guess your code probably uses `six.with_metaclass()` and `stacklevel=2`
in that warning isn't helping in this case. I don't know if it's worth
spending any time trying to improve the situation since it's fairly easy
to grep a project directory to find usage of `SubfieldBase`.
--
Ticket URL: <https://code.djangoproject.com/ticket/26425#comment:2>
Comment (by mvanderlinde):
Replying to [comment:2 timgraham]:
> I guess your code probably uses `six.with_metaclass()` and
`stacklevel=2` in that warning isn't helping in this case. I don't know if
it's worth spending any time trying to improve the situation since it's
fairly easy to grep a project directory to find usage of `SubfieldBase`.
Ahh, you are correct. After doing a grep search of the site-packages
folder, I found an app that uses `six.with_metaclass()`. I will open a
ticket on the suspect app, instead. Thanks for the quick response!
--
Ticket URL: <https://code.djangoproject.com/ticket/26425#comment:3>
* status: new => closed
* resolution: => invalid
--
Ticket URL: <https://code.djangoproject.com/ticket/26425#comment:4>
* status: closed => new
* resolution: invalid =>
Comment:
seeing this from a few different 3rd party packages. if they are using
six.with_metaclass, the otherwise helpful indication of what caused there
warning is pretty useless
i guess it's possible to try to detect six, though an easier workaround
might be to bump the stacklevel, and err on the side of going too far,
which might at least find an import statement indicating where to look
thoughts?
--
Ticket URL: <https://code.djangoproject.com/ticket/26425#comment:5>
* type: Bug => Cleanup/optimization
* easy: 1 => 0
Comment:
I don't think it's worth spending any time on this issue given grep should
be a simple solution.
--
Ticket URL: <https://code.djangoproject.com/ticket/26425#comment:6>
* status: new => closed
* resolution: => wontfix
Comment:
Feel free to reopen if you want to propose a patch.
--
Ticket URL: <https://code.djangoproject.com/ticket/26425#comment:7>