Validators

The following can be imported from django_mysql.validators.

class ListMaxLengthValidator[source]

A subclass of django’s MaxLengthValidator with list-specific wording.

class ListMinLengthValidator[source]

A subclass of django’s MinLengthValidator with list-specific wording.

class SetMaxLengthValidator[source]

A subclass of django’s MaxLengthValidator with set-specific wording.

class SetMinLengthValidator[source]

A subclass of django’s MinLengthValidator with set-specific wording.