thanks for responding. I will upgrade my Django version On Thu, Sep 10, 2020, 8:48 AM Kasper Laudrup <laud...@stacktrace.dk> wrote:
> Hi Spyke, > > On 10/09/2020 06.45, Spyke Lionel wrote: > > I get this while trying to run server: > > > "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\django-1.9-py3.8.egg\django\contrib\auth\base_user.py", > > > line 49, in <module> > > class AbstractBaseUser(models.Model): > > RuntimeError: __class__ not set defining 'AbstractBaseUser' as <class > > 'django.contrib.auth.base_user.AbstractBaseUser'>. Was __classcell__ > > propagated to type.__new__? > > > > > > //What could be the problem? am still a beginner in Django > > > > You haven't provided much information, so you're leaving it up to other > to guess a bit, but it looks like you're running Django 1.9 with Python > 3.8. > > Is that correct? > > If I look here: > > > https://docs.djangoproject.com/en/3.1/faq/install/#what-python-version-can-i-use-with-django > > It seems like Django 1.9 doesn't officially support Python 3.8, in fact > it doesn't seem like Django 1.9 is supported at all any longer which > could definitely explain why you're getting this exception. > > So are you indeed using Django 1.9 and is there any reason why you > haven't upgraded to a newer (and supported) version? > > Kind regards, > > Kasper Laudrup > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/765e37c8-922d-4e28-5865-452466aaebdb%40stacktrace.dk > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMyE4wK7XzdASjV19Fycy9k-hQp9JA6%2BHX5M_VjcAyP_EN-sfw%40mail.gmail.com.