You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have defined a custom user model in my settings. See the settings below.
Settings: AUTH_USER_MODEL = 'accounts.User'
And when I want to migrate, I get this error:
SystemCheckError: System check identified some issues:
ERRORS:
admin_two_factor.TwoFactorVerification.user: (fields.E301) Field defines a relation with the model 'auth.User', which has been swapped out.
HINT: Update the relation to point at 'settings.AUTH_USER_MODEL'.
Is there any solution for this?
The text was updated successfully, but these errors were encountered:
I have defined a custom user model in my settings. See the settings below.
Settings:
AUTH_USER_MODEL = 'accounts.User'
And when I want to migrate, I get this error:
Is there any solution for this?
The text was updated successfully, but these errors were encountered: