I have a special user model, with own auth backend. It's good that Django take care about me and send notifications, but how i can turn off some warnings, like this:
WARNINGS:
profile.User: (auth.W004) 'User.email' is named as the 'USERNAME_FIELD', but it is not unique.
HINT: Ensure that your authentication backend(s) can handle non-unique usernames.
My user model:
class User(AbstractBaseUser, PermissionsMixin):
email = models.EmailField(_('email address'))
site = models.ForeignKey(Site, verbose_name=_("Site"), null=True, blank=True)
class Meta:
unique_together = (
("email", "site", ),
)