MCPcopy
hub / github.com/django/django / get_violation_error_message

Method get_violation_error_message

django/db/models/constraints.py:71–72  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

69 raise NotImplementedError("This method must be implemented by a subclass.")
70
71 def get_violation_error_message(self):
72 return self.violation_error_message % {"name": self.name}
73
74 def check(self, model, connection):
75 return []

Callers 6

validateMethod · 0.80
validateMethod · 0.80
validateMethod · 0.80

Calls

no outgoing calls