So I added the following line in my settings.py:
settings.py
AUTH_USER_MODEL = \'app.CustomUser\'
And I got the error:
LookupErro