projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
90065db
)
Make my ChangeList sub-class compatibile with Django 1.3
author
Diane Trout
<diane@caltech.edu>
Fri, 14 Dec 2012 00:58:56 +0000
(16:58 -0800)
committer
Diane 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