django change value based on dropdownlist code example
Example: dropdown using ajax and django
{% for c in colors %} <option value="{{ c.color }}">{{ c.color|title }}</option>{% endfor %}
{% for c in colors %} <option value="{{ c.color }}">{{ c.color|title }}</option>{% endfor %}