Keep the injected on_delete out of the field signature.
Review Request #10271 — Created Oct. 24, 2018 and submitted — Latest diff uploaded
To provide compatibility with Django 2.0+'s requirements for
ForeignKey
, we recently pre-filled theon_delete
attribute of the
field if not otherwise in the field signature. This was left in the
signature, causing problems during signature diffing. It's now removed
if it wasn't explicitly in there.
Diffed a signature.
on_delete
didn't remain in.