UserMultipleChoiceField

Qualified name: tin.apps.users.forms.UserMultipleChoiceField

class UserMultipleChoiceField(queryset, **kwargs)[source]

Bases: ModelMultipleChoiceField

Methods

label_from_instance

Convert objects into strings and generate the labels for the choices presented by this object.

Attributes

label_from_instance(user)[source]

Convert objects into strings and generate the labels for the choices presented by this object. Subclasses can override this method to customize the display of the choices.