Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#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 Collin Grady <cgrady@…>, 17 years ago

(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)

comment:2 by James Bennett, 17 years ago

Resolution: worksforme
Status: newclosed

Because it is None.

in reply to:  2 comment:3 by anonymous, 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.
Back to Top