Opened 5 years ago

Last modified 5 years ago

#31131 closed New feature

Avoid manual selection of `entity_object_id` when attaching a Generic Relation to a model — at Initial Version

Reported by: Aman Sharma Owned by: nobody
Component: contrib.admin Version: dev
Severity: Normal Keywords: conttentype
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Currently, whenever one has to attach a GenericRelation to a model, one has to select the contenttype instance from a drop-down and manually enter the ID of the object of that particular model.
Since my project involved maintaining a model of 10,000 instances, I can't afford to keep track of their IDs so, instead, I created pop-up which fires on selecting the entity_content_type (similar to raw_id_fields).

If this can be a feature in Django, let me know. I can submit a patch which can solve this issue.

Change History (1)

by Aman Sharma, 5 years ago

A pop-up fired when an enitity type was selected from the drop-down.

Note: See TracTickets for help on using tickets.
Back to Top