--- a/web/formfields.py Thu Oct 21 18:38:36 2010 +0200
+++ b/web/formfields.py Fri Oct 22 09:15:35 2010 +0200
@@ -349,8 +349,8 @@
if support_args(self.value, 'form', 'field'):
return self.value(form, self)
else:
- warn("[3.10] field's value callback must now take form and field as argument",
- DeprecationWarning)
+ warn("[3.10] field's value callback must now take form and "
+ "field as argument (%s)" % self, DeprecationWarning)
return self.value(form)
return self.value
formattr = '%s_%s_default' % (self.role, self.name)