I am executing a query to auth.models.User
in my local_settings
, for the fact that I need a User instance in several tests.
from django.contrib.auth.models import User
TEST_USER = User.objects.all()[0]
This raised an error:
No module named simple_backend
With that, the connection to the Django development server is dropped. What does this message mean, and how does it happen?