Admin Interface Add forms should use the filtering from the changelist to set default values for fields
|Reported by:||Owned by:||nobody|
|Cc:||lakin@…||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When the user clicks "Add" while viewing a changelist that has been filtered in some manner, any editable fields that are specified in the filtering should default to the filtering value. (If the users is restricting the change list in some manner, it's likely they're only dealing with objects of that type.)
This is a convenience feature but is nice to have. See the (soon to be) attached patch for an initial implementation. I'd like to get some feedback on the patch because I'm unsure of my implementation of the get_add_query_string.