Django | Save model's choice list values
- by MMRUser
I have a form that has a choice list:
<select name="cellSerpro" id="idcellserpro" class="field text" >
<option value="">---</option>
<option value="option1">Verizon</option>
<option value="option2">AT&T</option>
<option value="option3">T-Mobile</option>
<option value="option4">Sprint</option>
</select>
So how do I get the selected value of it from the Django's model class in order to save it in the database, I have search through the net but couldn't find any way of doing it..
Thanks..