#24226 closed New feature (fixed)
Need to be able to change "(None)" display for null fields in Django admin
Reported by: | meesterguyperson | Owned by: | Loek van Gent |
---|---|---|---|
Component: | Generic views | Version: | 1.7 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
We have a particular changelist view that is very busy, lots of columns, and because the items there house lots of different kinds of items, there are lots of null fields depending on the items in question. Wherever there is a null field, "(None)" is displayed. I would like to be able to change this to "-" or even nothing, so as to make the changelist view more presentable. There are a couple things on stackoverflow about this, but nothing that looks really official. Would be really nice if this could be done on a per modeladmin basis, but I'd settle for an admin wide solution too. Any chances of this coming along anytime soon?
http://stackoverflow.com/questions/18324030/how-to-change-empty-changelist-value-in-django-admin
Change History (4)
comment:1 by , 10 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
"-" seems a much better default than "(None)" which is confusing and language-specific.