Validate GenericForeignKey's object_id_field/content_type_field options
|Reported by:||jacob||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Description (last modified by ramiro)
The object_id_field and content_type_field options to GenericForeignKey aren't validated by model validation, which means that if you make a mistake or typo weird stuff happens. ./manage.py validate should complain about that.
I think this is probably blocking on the ability to plug into model validation since GFK's are in contrib and shouldn't have code in core.