multi-site-wagtail
multi-site-wagtail copied to clipboard
Upon cloning and running, ran into RuntimeError with AbstractBaseUser Class
New Wagtail developer here. I cloned this app, installed the requirements using pip within a venv virtual environment, tried to run the server, and immediately got this error:
RuntimeError: __class__ not set defining 'AbstractBaseUser' as <class 'django.contrib.auth.base_user.AbstractBaseUser'>. Was __classcell__ propagated to type.__new__?
I hit this problem, resolved by using an older version of python (python 2.7 worked, but 3.5 is probably OK as well).
Note that this example repo is using a very old Django version - 1.9, which supports python 2.7, 3.4, 3.5 - https://docs.djangoproject.com/en/4.0/releases/1.9/