Thanks for the reply.

If it wouldn't take too much time, can you please point me to those
discussions?

All I was able to find was that thread
http://groups.google.com/group/django-developers/browse_thread/thread/1edf77c9c8b1101d/06d4775747a5a127?lnk=gst&q=admin+action+selected#06d4775747a5a127

with a message of yours.

If that's counter intuitive, what is the preferred way to include such
actions?




On Mar 1, 5:26 pm, Alex Gaynor <alex.gay...@gmail.com> wrote:
> On Mon, Mar 1, 2010 at 12:23 AM, George Karpenkov
>
>
>
>
>
> <true.chesh...@gmail.com> wrote:
> > Hi there,
>
> > Currently, if no elements are selected, any action selected in the
> > admin interface will not fire.
>
> > However, sometimes it is useful to create actions which do not require
> > any elements to be selected - ie
>
> > x removing all elements
> > x drag-n-drop reordering of all elements
> > x arranging elements into some sort of tree structure
>
> > and etc. - essentially, actions which work on all / certain subset of
> > elements, which is defined in the logic of the action (one more
> > example - "delete all unpublished articles")
>
> > Wouldn't this be useful?
>
> > Regards,
> > George
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Django developers" group.
> > To post to this group, send email to django-develop...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > django-developers+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/django-developers?hl=en.
>
> It was an intentional design decision to not support admin actions
> with 0 items.  Having 2 separate sets of functionality (those that
> operate on selected items, and those that operate on all, none, or
> something else entirely) in a single UI element was deemed to be very
> counter intuitive.  If you search this list you'll see that this has
> been discussed several times.
>
> Alex
>
> --
> "I disapprove of what you say, but I will defend to the death your
> right to say it." -- Voltaire
> "The people's good is the highest law." -- Cicero
> "Code can always be simpler than you think, but never as simple as you
> want" -- Me

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

Reply via email to