This would automatically set the owner_type and owner_id.
I've added a very basic failing test which could probably be expanded upon.
In terms of actual support in DDF I have not implemented this, however I'd be willing to attempt it if it's something the core devs believe should be a feature.
I'd like to propose better support for GenericForeignKeys.
I'd like to do the following;
This would automatically set the
owner_type
andowner_id
.I've added a very basic failing test which could probably be expanded upon.
In terms of actual support in DDF I have not implemented this, however I'd be willing to attempt it if it's something the core devs believe should be a feature.