Opened 5 years ago
Closed 5 years ago
#31726 closed New feature (invalid)
Allow calculated field on admin change_list
| Reported by: | pandichef | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
I'm a big fan of calculated fields on the change_list view as documented on this site: https://books.agiliq.com/projects/django-admin-cookbook/en/latest/calculated_fields.html. However, I've found no convenient way to show these calculated fields in the change_form view. It would be nice to support that.
Change History (4)
comment:1 by , 5 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 5 years ago
| Component: | Uncategorized → contrib.admin |
|---|
comment:3 by , 5 years ago
| Version: | 3.1 → master |
|---|
comment:4 by , 5 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The Django admin already supports that through
readonly_fields.https://docs.djangoproject.com/en/3.0/ref/contrib/admin/#django.contrib.admin.ModelAdmin.readonly_fields