Answer the question
In order to leave comments, you need to log in
How to make some form fields text, field.value?
There is a form with fields title, create, text, ... etc. (pieces 10 fields)
in the template
{% for field in form %}
{% if field.label == 'Дата создания' %}
{{ field.value }}
{% else %}
{{ field }}
{% endif %}
{% endfor %}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question