Handle related_model specially in FieldSignature.
Review Request #10295 — Created Nov. 1, 2018 and submitted — Latest diff uploaded
The original
FieldSignature
handledrelated_model
as a special
argument, and a later version of that change got rid of that in favor of
a field attribute. The original idea was correct, as the equivalent
field attribute forField
classes required a model, whereas this
version represented a class path string.This change restores this as its own attribute, and makes it easier to
construct aFieldSignature
with a related model and field attributes
all at once. Diffing has been updated to factor this in as well.
Tested along with other pending changes. Related model handling worked.