user_management/api/serializers.py
def filter_queryset(self, value, queryset):
        """Check lower-cased email is unique."""
        return super(UniqueEmailValidator, self).filter_queryset(
            value.lower(),
            queryset,
        )
def filter_queryset(self, value, queryset):
        """Check lower-cased email is unique."""
        return super(UniqueEmailValidator, self).filter_queryset(
            value.lower(),
            queryset,
        )
Check lower-cased email is unique.