[patch] newforms: models.CharField with choices should be displayed as forms.ChoiceField according to oldforms behavior
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
With oldforms any model.CharField(..., choices=(...)) is displayed as <select ...> ...choices...</select>
In newforms this feature seem to be unimplemented yet and model.CharField is always displayed as forms.CharField. This behavior is unexpected. Attached patch fixes this.