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)
commit90065db0efaf3f8218f64c9819c3c11e9f3e7d1b
tree22b5b672a089713342b52d4beb63296c8605692d
parentbb9047d238ba34ed163c96cd8c857c34e85420a7
Make my ChangeList sub-class compatibile with Django 1.3

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.
htsworkflow/frontend/samples/changelist.py