models: Extract zerver.models.users.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-12-14 16:16:00 -08:00
committed by Tim Abbott
parent 37a9c4501f
commit 45bb8d2580
114 changed files with 1260 additions and 1273 deletions

View File

@@ -106,7 +106,6 @@ from zerver.models import (
DisposableEmailError,
DomainNotAllowedForRealmError,
EmailContainsPlusError,
PasswordTooWeakError,
PreregistrationRealm,
PreregistrationUser,
Realm,
@@ -115,10 +114,13 @@ from zerver.models import (
UserProfile,
custom_profile_fields_for_realm,
get_realm,
supported_auth_backends,
)
from zerver.models.users import (
PasswordTooWeakError,
get_user_by_delivery_email,
get_user_profile_by_id,
remote_user_to_email,
supported_auth_backends,
)
from zproject.settings_types import OIDCIdPConfigDict