Opened 19 years ago

Closed 17 years ago

#921 closed enhancement (wontfix)

Add a "me" shortcut to UserFields

Reported by: ozamosi@… Owned by: hakejam
Component: contrib.admin Version: newforms-admin
Severity: trivial Keywords:
Cc: django@… Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In the admin, when I have a UserField, it would be nice to have a shortcut to "me", kind of like how dates have shortcuts to "now", that would automatically fill in the current user, wich means I don't have to go through the (sometimes) long list of users.

Change History (7)

comment:1 by Adrian Holovaty, 19 years ago

priority: normallowest
Severity: normaltrivial

comment:2 by Chris Beaven, 18 years ago

Triage Stage: UnreviewedDesign decision needed

comment:3 by Adrian Holovaty, 18 years ago

Just a note: This will be accomplished more easily once the newforms-admin branch is done. I still don't know whether we should offer an out-of-the-box "me" shortcut, though.

comment:4 by Florian Apolloner, 18 years ago

Cc: django@… added

Maybe even make the current user to be the default (using html->input->value)?
Or is there another way of doing this already?

comment:5 by hakejam, 17 years ago

Owner: changed from nobody to hakejam
Status: newassigned

comment:6 by Brian Rosner, 17 years ago

Version: newforms-admin

I am -1 on including this by default. This can be easily accomplished through the ModelAdmin class by overriding the formfield_callback method. Anyone else in favor of just closing this?

comment:7 by jkocherhans, 17 years ago

Resolution: wontfix
Status: assignedclosed

Closing, basically for the reason mentioned by brosner.

Note: See TracTickets for help on using tickets.
Back to Top