{% load i18n rest_framework %} {% translate "None" as none_choice %}
{% if field.label %} {% endif %} {% for key, text in field.choices|items %}
{% if field.label %} {% endif %}
{% endfor %} {% if field.help_text %}

{{ field.help_text|safe }}

{% endif %}
{% include 'rest_framework/components/field_errors.html' %}