Opened 20 years ago
Closed 18 years ago
#921 closed enhancement (wontfix)
Add a "me" shortcut to UserFields
| Reported by: | 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 , 20 years ago
| priority: | normal → lowest |
|---|---|
| Severity: | normal → trivial |
comment:2 by , 19 years ago
| Triage Stage: | Unreviewed → Design decision needed |
|---|
comment:3 by , 19 years ago
comment:4 by , 19 years ago
| Cc: | 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 , 18 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:6 by , 18 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 , 18 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | assigned → closed |
Closing, basically for the reason mentioned by brosner.
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.