Opened 13 years ago

Closed 11 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


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 Changed 13 years ago by Adrian Holovaty

priority: normallowest
Severity: normaltrivial

comment:2 Changed 12 years ago by Chris Beaven

Triage Stage: UnreviewedDesign decision needed

comment:3 Changed 12 years ago by Adrian Holovaty

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 Changed 12 years ago by Florian Apolloner

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 Changed 12 years ago by hakejam

Owner: changed from nobody to hakejam
Status: newassigned

comment:6 Changed 11 years ago by Brian Rosner

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 Changed 11 years ago by jkocherhans

Resolution: wontfix
Status: assignedclosed

Closing, basically for the reason mentioned by brosner.

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