Here's the view...

http://dpaste.com/153735/

Could it possibly be that the grade is saved in the db as 4.3300 or
4.0000 or 3.6700 but when I view source the select on the form looks
like this:

<select name="hp_grade" id="id_hp_grade">
<option value="">---------</option>
<option value="4.33">A+</option>
<option value="4.0">A</option>
<option value="3.67">A-</option>
<option value="3.33">B+</option>
<option value="3">B</option>
<option value="2.67">B-</option>
<option value="2.33">C+</option>
<option value="2">C</option>
<option value="1.67">C-</option>
<option value="1">CR</option>
</select>

On Feb 2, 10:32 am, Shawn Milochik <sh...@milochik.com> wrote:
> Okay. Sorry, I don't see anything in the model or ModelForm that seem like 
> they might cause this behavior. How about the view(s) that instantiate the 
> ModelForm?
>
> Shawn

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to