Opened 9 years ago

Closed 7 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: UI/UX:

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 Changed 9 years ago by adrian

  • priority changed from normal to lowest
  • Severity changed from normal to trivial

comment:2 Changed 8 years ago by SmileyChris

  • Triage Stage changed from Unreviewed to Design decision needed

comment:3 Changed 8 years ago by adrian

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

  • Owner changed from nobody to hakejam
  • Status changed from new to assigned

comment:6 Changed 8 years ago by brosner

  • Version set to 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 7 years ago by jkocherhans

  • Resolution set to wontfix
  • Status changed from assigned to closed

Closing, basically for the reason mentioned by brosner.

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