Browse Source

Added request param to get_model_queryset

Dario Castañé 8 years ago
parent
commit
c9fc0a82af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jet/utils.py

+ 1 - 1
jet/utils.py

@@ -163,7 +163,7 @@ class SuccessMessageMixin(object):
         return self.success_message % cleaned_data
 
 
-def get_model_queryset(admin_site, model, preserved_filters=None):
+def get_model_queryset(admin_site, model, request, preserved_filters=None):
     model_admin = admin_site._registry.get(model)
 
     changelist_url = urlresolvers.reverse('%s:%s_%s_changelist' % (