Skip to content

Commit ea47622

Browse files
author
Emmanouil Konstantinidis
committed
If no fields
1 parent 43bf84f commit ea47622

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drfdocs/templates/drfdocs/home.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ <h4 class="title">{{ endpoint.path }}</h4>
3030
<li class="field">{{ field.name }}: {{ field.type }}</li>
3131
{% endfor %}
3232
</ul>
33+
{% else %}
34+
<p>No fields.</p>
3335
{% endif %}
3436

3537
</div>

0 commit comments

Comments
 (0)