From: W. Trevor King Date: Thu, 21 Jul 2011 11:51:24 +0000 (-0400) Subject: Fix kwargs iteration in LinkColumn.render. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77e9efc567de45fc57653858855e27f356512277;p=django-tables2.git Fix kwargs iteration in LinkColumn.render. --- diff --git a/django_tables2/columns.py b/django_tables2/columns.py index d3b159d..4b48bd8 100644 --- a/django_tables2/columns.py +++ b/django_tables2/columns.py @@ -239,7 +239,7 @@ class LinkColumn(Column): for a in self.args] if self.kwargs: params['kwargs'] = self.kwargs - for key, value in self.kwargs: + for key, value in self.kwargs.items(): if isinstance(value, A): params['kwargs'][key] = value.resolve(record) if self.current_app: