def settings_with_user_with_user_type(): with override_auth_model_settings('custom_users.UserWithUserType'): yield settings
def settings_with_simple_email_based_user(): with override_auth_model_settings('custom_users.SimpleEmailBasedUser'): yield settings