Remove suprious comma. Fixing a tuple <= int bug
authorDiane Trout <diane@ghic.org>
Mon, 6 Apr 2015 22:03:14 +0000 (15:03 -0700)
committerDiane Trout <diane@ghic.org>
Mon, 6 Apr 2015 22:03:14 +0000 (15:03 -0700)
python 2 didn't catch this type error. Thankfully python 3 does.

samples/changelist.py

index 842eb0adc04c8cfc51ccdc020de7ded052888895..42e1b59b4f6c0e3a1adb5681b4792bbec8e3a7ed 100644 (file)
@@ -28,7 +28,7 @@ class HTSChangeList(ChangeList):
             'model_admin': model_admin #model_admin
         }
         if django.VERSION[0] >= 1 and django.VERSION[1] >= 4:
-            args['list_max_show_all'] = 20000, #list_max_show_all
+            args['list_max_show_all'] = 20000 #list_max_show_all
         super(HTSChangeList, self).__init__(**args)
 
         self.is_popup = False