From 77e9efc567de45fc57653858855e27f356512277 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 21 Jul 2011 07:51:24 -0400 Subject: [PATCH] Fix kwargs iteration in LinkColumn.render. --- django_tables2/columns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2