Removed unused special_args_lists variable

This commit is contained in:
Simon Willison 2019-11-06 16:55:44 -08:00
commit b0b7c80571

View file

@ -261,12 +261,10 @@ class TableView(RowTableShared):
# That's so if there is a column that starts with _ # That's so if there is a column that starts with _
# it can still be queried using ?_col__exact=blah # it can still be queried using ?_col__exact=blah
special_args = {} special_args = {}
special_args_lists = {}
other_args = [] other_args = []
for key, value in args.items(): for key, value in args.items():
if key.startswith("_") and "__" not in key: if key.startswith("_") and "__" not in key:
special_args[key] = value[0] special_args[key] = value[0]
special_args_lists[key] = value
else: else:
for v in value: for v in value:
other_args.append((key, v)) other_args.append((key, v))