<https://lh6.googleusercontent.com/-5TeZTytYAO4/UVQnM31KH3I/AAAAAAAAAVQ/kmBVa1CEk08/s1600/Screen+shot+2013-03-28+at+12.03.29+PM.png>
Hi,
In several projects we have some front-ends that share code with admin. One
addition in the front is the ability to group actions in several groups for
the sake of usability (screenshot).
The API is very simple, you just have to specify a *group* attribute on the
action function/method :
def my_action(modeladmin, request, queryset):
messages.info(request, "Done!")
my_action.short_description = "do some stuff"
my_action.group = "top secret"
Do you guys think it worth the effort to backport the functionality into
admin ?
Cheers,
Stanislas.
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.