Exception ignored in thread started by: <function check_errors.<locals>.wrapper at 0x0000021B59E90AF0>
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\django-1.9-py3.8.egg\django\utils\autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\django-1.9-py3.8.egg\django\core\management\commands\runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\django-1.9-py3.8.egg\django\utils\autoreload.py", line 249, in raise_last_exception
six.reraise(*_exception)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\django-1.9-py3.8.egg\django\utils\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\django-1.9-py3.8.egg\django\utils\autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\django-1.9-py3.8.egg\django\__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\django-1.9-py3.8.egg\django\apps\registry.py", line 108, in populate
app_config.import_models(all_models)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\django-1.9-py3.8.egg\django\apps\config.py", line 202, in import_models
self.models_module = import_module(models_module_name)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\django-1.9-py3.8.egg\django\contrib\auth\models.py", line 4, in <module>
from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
File "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 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fbd4c96e-d43a-4d67-9286-c8b8d95de51an%40googlegroups.com.
No comments:
Post a Comment