I had an extra ',' that was turning a simple assignment
into assignment of a tuple containing the variable I was expecting.
needless to say this cause trouble.
def get_query_set(self, request=None):
args = {}
if django.VERSION[0] >= 1 and django.VERSION[1] >= 4:
- args['request'] = request, #list_max_show_all
-
+ args['request'] = request #list_max_show_all
+
qs = super(HTSChangeList, self).get_query_set(**args)
if self.extra_filters:
new_qs = qs.filter(**self.extra_filters)