Hi Rahul,

This can be solved using custom javascript. Override ModelAdmin's
changelist template ( 
http://docs.djangoproject.com/en/1.2/ref/contrib/admin/#overriding-admin-templates
) in order to insert the necessary javascript code.

On 10 янв, 00:37, rahul jain <jainwolver...@gmail.com> wrote:
> How to map admin actions with shortcut keys ?
>
> I have an action to perform on rows (objects) which changes the value of one
> of the columns(fields) to "x" and some to "y" and some to "z".
> I would like to save some time by not going through the normal route (after
> selecting the rows, selecting from the drop down menu, the action to be
> performed, then clicking go).
>
> Is it possible to make it faster ?
>
> One of ways i could think is through shortcut keys
>
> Key 1 -> Perform admin action "x" on some rows
>
> Key 2 -> Perform admin action "y" on some rows
>
> key 3 -> Perform admin action "z" on some rows
>
> Will appreciate if you can let me know how to approach this problem ?
>
> Thanks.
>
> Rahul

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to