#15987: Add auto focus field select to admin class on add and change forms
-------------------------------+--------------------------------------
     Reporter:  dom@…          |                    Owner:  nobody
         Type:  New feature    |                   Status:  reopened
    Component:  contrib.admin  |                  Version:  1.4
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  1              |                    UI/UX:  1
-------------------------------+--------------------------------------
Changes (by pkenjora@…):

 * status:  closed => reopened
 * version:  1.3 => 1.4
 * ui_ux:   => 1
 * resolution:  wontfix =>
 * stage:  Design decision needed => Unreviewed


Comment:

 Why not add a programatic way of choosing the focus in the admin class,
 especially dynamic.

 '''Use case:'''  I want to take a user to an admin form and highlight the
 field to edit from another part of the admin.  I have a long form with
 collapsed fields and instead of re-creating a view want to simply
 highlight the one field I want them to edit. Following the DRY principle.
 This would be extremely useful and make admin much more flexible without
 adding significant overhead to the code.

 Re-Open as feature request?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/15987#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to