In my project I followed the django documentation suggestion to create a custom User model (although nothing actually happens there). To make your app run with a custom User model I needed to change it a bit.
Instead of importing from django.contrib.auth.models import User I used User = get_user_model() .
Hi Carlton,
In my project I followed the django documentation suggestion to create a custom User model (although nothing actually happens there). To make your app run with a custom User model I needed to change it a bit.
Instead of importing
from django.contrib.auth.models import User
I usedUser = get_user_model()
.I can create a PR If you like this.