#5621 closed (worksforme)
Emtpy ForeignKey fields shown as "(None)"
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | 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
Why do we represent empty ForeignKey fields with "(None)" instead of using an empty <td></td> ?
Change History (3)
comment:1 by , 17 years ago
follow-up: 3 comment:2 by , 17 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Because it is None
.
comment:3 by , 17 years ago
Replying to ubernostrum:
Because it is
None
.
Then we should uniform displaying of None fields and None ForeignKeys since normally fields are displayed as "None" while empty foreignkeys are displayed as "(None)"
Note:
See TracTickets
for help on using tickets.
(None) seems more accurate than nothing to me, since it's set to NULL, not just an empty string or such (which doesn't fit with an fkey)