Feb 28 2014

Custom widget in django ModelForm

published by aryanix
in blog aryanix
original entryCustom widget in django ModelForm

coding django prgramming python technical

I was trying to override the widget of an editable field that is automaticaly generated by ModelAdmin in list_editable mode. The problem was the use of ModelForm that create a Form automatically by inspecting the definations of your model. What

Tag cloud

Social Sharing