django/tests
Jacob Kaplan-Moss bb15cee58a Made a bunch of improvements to admin actions. Be warned: this includes one minor but BACKWARDS-INCOMPATIBLE change.
These changes are:

    * BACKWARDS-INCOMPATIBLE CHANGE: action functions and action methods now share the same signature: `(modeladmin, request, queryset)`. Actions defined as methods stay the same, but if you've defined an action as a standalone function you'll now need to add that first `modeladmin` argument.
    * The delete selected action is now a standalone function registered site-wide; this makes disabling it easy.
    * Fixed #10596: there are now official, documented `AdminSite` APIs for dealing with actions, including a method to disable global actions. You can still re-enable globally-disabled actions on a case-by-case basis.
    * Fixed #10595: you can now disable actions for a particular `ModelAdmin` by setting `actions` to `None`.
    * Fixed #10734: actions are now sorted (by name).
    * Fixed #10618: the action is now taken from the form whose "submit" button you clicked, not arbitrarily the last form on the page.
    * All of the above is documented and tested.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-06 20:23:33 +00:00
..
modeltests Fixed the test case from [10399] to be more robust against the order in which test cases are executed. 2009-04-05 17:54:02 +00:00
regressiontests Made a bunch of improvements to admin actions. Be warned: this includes one minor but BACKWARDS-INCOMPATIBLE change. 2009-04-06 20:23:33 +00:00
templates Fixed #9282: added a generic comment moderation toolkit. See the documentation for details. 2009-03-23 21:07:02 +00:00
runtests.py Fixed #9282: added a generic comment moderation toolkit. See the documentation for details. 2009-03-23 21:07:02 +00:00
urls.py Fixed #5791 -- Added early-bailout support for views (ETags and Last-modified). 2009-03-22 07:58:29 +00:00