class documentation
class UniqueTogetherValidator: (source)
Validator that corresponds to `unique_together = (...)` on a model class. Should be applied to the serializer class, not to an individual field.
Method | __call__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | enforce |
The `UniqueTogetherValidator` always forces an implied 'required' state on the fields it applies to. |
Method | exclude |
If an instance is being updated, then do not include that instance itself as a uniqueness conflict. |
Method | filter |
Filter the queryset to all instances matching the given attributes. |
Class Variable | missing |
Undocumented |
Class Variable | requires |
Undocumented |
Instance Variable | fields |
Undocumented |
Instance Variable | message |
Undocumented |
Instance Variable | queryset |
Undocumented |