MCPcopy
hub / github.com/django/django / check

Method check

django/db/models/fields/related.py:1048–1054  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

1046 return cls
1047
1048 def check(self, **kwargs):
1049 databases = kwargs.get("databases") or []
1050 return [
1051 *super().check(**kwargs),
1052 *self._check_on_delete(databases),
1053 *self._check_unique(),
1054 ]
1055
1056 def _check_on_delete_db_support(self, on_delete, feature_flag, databases):
1057 for db in databases:

Calls 3

_check_on_deleteMethod · 0.95
_check_uniqueMethod · 0.95
getMethod · 0.45