Make my ChangeList sub-class compatibile with Django 1.3
authorDiane Trout <diane@caltech.edu>
Fri, 14 Dec 2012 00:58:56 +0000 (16:58 -0800)
committerDiane Trout <diane@caltech.edu>
Fri, 14 Dec 2012 00:58:56 +0000 (16:58 -0800)
Django 1.3's django.contrib.admin.view.main.ChangeList
class takes one fewer parameter than the 1.4 version, as
does the get_query_set function.

I solved this by testing the django.VERSION and adding
the extra paramemeter to a dictionary and calling with
**kwarg expansion.

Yes it is dirty.


No differences found