Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.2.X] Fixed #15212 -- ensure that ModelAdmin.get_actions still retu…

…rns a SortedDict if there are no actions. Backport of [15393].

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15394 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 837a2e2773125fcda0c419597b2c19a3d05b4879 1 parent e26de11
@alex alex authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/options.py
View
2  django/contrib/admin/options.py
@@ -536,7 +536,7 @@ def get_actions(self, request):
# If self.actions is explicitally set to None that means that we don't
# want *any* actions enabled on this page.
if self.actions is None:
- return []
+ return SortedDict()
actions = []
Please sign in to comment.
Something went wrong with that request. Please try again.