Ev.
Ev.

Reputation: 1567

SubfieldBase has been deprecated. Use Field.from_db_value instead

/python3.4/site-packages/django/db/models/fields/subclassing.py:22: RemovedInDjango110Warning: SubfieldBase has been deprecated. Use Field.from_db_value instead.
  RemovedInDjango110Warning)

Since I upgraded to Django 1.9 I started having this warning on runserver startup. The problem is that I have no idea where it comes from. I am guessing it must be from forms.py. Does anyone have a clue?

Upvotes: 3

Views: 3966

Answers (1)

contracode
contracode

Reputation: 405

I experienced this error while using python-social-auth 0.2.13. If you are using python-social-auth, I submitted a fix for this on GitHub, just now. This extends another fix submitted here.

Subscribe to both of those pull requests and if/when both pull requests are merged into the master branch, you will no longer see the warning.

Upvotes: 9

Related Questions