LookupError: App 'Hierarchy' doesn't have a 'CustomUser' model
问题 I've been following the Django documentation to create a custom user model. Here is the main error - (Edit - I was asked to add the entire traceback so here it is) Watching for file changes with StatReloader Exception in thread django-main-thread: Traceback (most recent call last): File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python37\lib\site-packages\django\apps\config.py", line 178, in get_model return self.models[model_name.lower()] KeyError: 'customuser' During handling of the