Opened 15 years ago
Last modified 14 years ago
#14529 closed
Save messages for proxy models show a crazy verbose_name — at Initial Version
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | contrib.admin | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | yes | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Steps to reproduce:
1) In a ModelAdmin, provide a custom queryset method that adds .only().
2) Save a model in the admin.
Expected results:
The model name "whatever" was saved successfully.
Actual results:
The model_name_deferredall_the_fields_you_did_not_load "whatever" was saved successfully.
Note:
See TracTickets
for help on using tickets.
A trivial patch to fix this issue