klipstein/dojango — Issue #69: 69 - formfield_function() should always pass kwargs to  Field.formfield(). 
Author: klipstein
Created: 2011-11-06 13:04:16+00:00
State: closed

Django Field.formfield() accepts kwargs that will overwrite computed defaults based on field model definition. In case of Dojango such overwritting is impossible, because dojango.forms.models.formfield_function() ignores kwargs in some situations:

def formfield_function(field, **kwargs):
# ...
# ...
return field.formfield(form_class=field_map[1])

Would you please add kwargs argument to all such calls in that function?

Original link: http://code.google.com/p/dojango/issues/detail?id=69