Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #15212 -- ensure that ModelAdmin.get_actions still returns a So…

…rtedDict if there are no actions.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 05e3bf4befc9f5876a0435f798b1b831e340bbd6 1 parent dc5f260
Alex Gaynor authored February 02, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/admin/options.py
2  django/contrib/admin/options.py
@@ -547,7 +547,7 @@ def get_actions(self, request):
547 547
         # want *any* actions enabled on this page.
548 548
         from django.contrib.admin.views.main import IS_POPUP_VAR
549 549
         if self.actions is None or IS_POPUP_VAR in request.GET:
550  
-            return []
  550
+            return SortedDict()
551 551
 
552 552
         actions = []
553 553
 

0 notes on commit 05e3bf4

Please sign in to comment.
Something went wrong with that request. Please try again.