MCPcopy
hub / github.com/django/django / FieldIsAForeignKeyColumnName

Class FieldIsAForeignKeyColumnName

django/contrib/admin/utils.py:31–34  ·  view source on GitHub ↗

A field is a foreign key attname, i.e. <FK>_id.

Source from the content-addressed store, hash-verified

29
30
31class FieldIsAForeignKeyColumnName(Exception):
32 """A field is a foreign key attname, i.e. <FK>_id."""
33
34 pass
35
36
37def lookup_spawns_duplicates(opts, lookup_path):

Callers 1

_get_non_gfk_fieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected