projects
/
django-tables2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77e9efc
)
Avoid clobbering value when processing kwargs in LinkColumn.
author
W. Trevor King
<wking@drexel.edu>
Thu, 21 Jul 2011 12:19:03 +0000
(08:19 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 21 Jul 2011 12:19:03 +0000
(08:19 -0400)
django_tables2/columns.py
patch
|
blob
|
history
diff --git
a/django_tables2/columns.py
b/django_tables2/columns.py
index 4b48bd8a77d2b5d7fefe00bacf0601ae14c48a6e..c547fa7de1f70b9bff40175282348dd6dd38875e 100644
(file)
--- a/
django_tables2/columns.py
+++ b/
django_tables2/columns.py
@@
-239,9
+239,9
@@
class LinkColumn(Column):
for a in self.args]
if self.kwargs:
params['kwargs'] = self.kwargs
- for key, value in self.kwargs.items():
- if isinstance(value, A):
- params['kwargs'][key] = value.resolve(record)
+ for key, value
_
in self.kwargs.items():
+ if isinstance(value
_
, A):
+ params['kwargs'][key] = value
_
.resolve(record)
if self.current_app:
params['current_app'] = self.current_app
for key, value in self.current_app: