Category "django-validation"

Password validation with UserAttributeSimilarityValidator and CustomUser Django

I am trying to validate a password against CustomUser fields: email and full_name. All test validations are working except for UserAttributeSimilarityValidator,

Django ManyToMany validation in model layer

I have model with manytomany field and the task is to make an validation in model layer. When i run this code, this error occurs: ValueError at /admin/main/boss