Exception of the day – AUTH_USER_MODEL must be of the form ‘app_label.model_name’
TL;DR: if your AUTH_USER_MODEL setting is correct, the most likely cause for this exception is that an exception is raised during import of the model.py containing your custom user class. I just encountered an exception that had me scratching my head for a minute or two. Here is the relevant part for the stack trace: […]