django form with select field with ajax 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 %}