forms - Django: Radio buttons "checked" after validation -



forms - Django: Radio buttons "checked" after validation -

i'm having modelform django works fine. validates fine, problem: input field (a couple of radio buttons) doesn't checked="checked" after returning bad validation, user has go on radio buttons again. seems stupid.

is there way django set checked="checked" on radio buttons on validation?

django forms validation radio-button

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -