dropdown select in jquery post method return list in same view django 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 %}