Django upgrade from 1.10 to 1.11 DeprecationWarning
问题 I am trying to upgrade my project from Django 1.10 to 1.11: >>> django.VERSION (1, 10, 0, 'final', 1) When I run python -Wall manage.py test, I get the following error message: C:\Users\Environments\lib\site-packages\django\contrib\auth\base_user.py:52: DeprecationWarning: __class__ not set defining 'AbstractBaseUser' as <class 'django.contrib.auth.base_user.AbstractBaseUser'>. Was __classcell__ propagated to type.__new__? class AbstractBaseUser(models.Model): I have looked around but could