context = { 'sof': sof })
Is it not possible to access meta data in templates ?
{% for field in sof.so._meta.fields %}
<div>
<dt>{{ field.verbose_name }}</dt>
<dd>{{ field.value }}</dd>
</div>
{% endfor %}
context = { 'sof': sof })
Is it not possible to access meta data in templates ?
{% for field in sof.so._meta.fields %}
<div>
<dt>{{ field.verbose_name }}</dt>
<dd>{{ field.value }}</dd>
</div>
{% endfor %}
I don’t see why not.
What is the sof
being passed in the context?