UserModel._default_manager.filter(**{case_insensitive_username_field:username}).exists()): code example
Example: UserModel._default_manager.filter(**{case_insensitive_username_field:username}).exists()):
AUTH_USER_MODEL = 'core.CustomUser'
AUTH_USER_MODEL = 'core.CustomUser'