#31374: Runtime Error unable to solve from forums/ FAQ.
-------------------------------------+-------------------------------------
     Reporter:  l_sharma             |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  closed
    Component:  Uncategorized        |                  Version:  3.0
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  django-pyodbc-azure  |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Andrew Badr):

 Commenting in case this helps anyone else. I hit this same error trying to
 upgrade a simple Django 1.9.13 project from python 2.7 to python 3.8.

 `RuntimeError: __class__ not set defining 'AbstractBaseUser' as <class
 'django.contrib.auth.base_user.AbstractBaseUser'>. Was __classcell__
 propagated to type.__new__?`

 Not using `django-pyodbc-azure` or anything else unusual. This error seems
 be coming from within Django itself.(File
 "/app/.heroku/python/lib/python3.8/site-
 packages/django/contrib/auth/base_user.py", line 49). What's strange is
 that the error doesn't happen for my locally, only on Heroku.

 Upgrading to Django 1.11 fixed the issue.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31374#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.8c50fd502e2484d3bbbb3ac5c528dad3%40djangoproject.com.

Reply via email to