-
-
Save jness/2773ea77acc761bb4328 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<option value="1" selected >1</option> | |
<option value="2" >2</option> | |
<option value="3" selected >3</option> | |
<option value="4" >4</option> | |
<option value="5" >5</option> | |
<option value="6" >6</option> | |
<option value="7" >7</option> | |
<option value="8" >8</option> | |
<option value="9" >9</option> | |
<option value="10" >10</option> | |
<option value="11" >11</option> | |
<option value="12" >12</option> | |
<option value="13" selected >13</option> |
My restful version:
$ pip freeze | grep framework
djangorestframework==3.2.3
Shouldn't this be a == rather than a in:
{% if select.value in field.value %}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My model: