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 would highly suggest using the get_user_model method over directly importing the User model. This helps if you later decided the change the user model with a custom one without needing to update every reference to the built-in model.