We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb8cbab + 323f590 commit 73ad88eCopy full SHA for 73ad88e
rest_framework/templates/rest_framework/base.html
@@ -63,12 +63,15 @@
63
{% else %}
64
<li><a href="{{ breadcrumb_url }}">{{ breadcrumb_name }}</a></li>
65
{% endif %}
66
+ {% empty %}
67
+ {% block breadcrumbs_empty %} {% endblock breadcrumbs_empty %}
68
{% endfor %}
69
</ul>
70
{% endblock %}
71
72
<!-- Content -->
73
<div id="content">
74
+ {% block content %}
75
76
{% if 'GET' in allowed_methods %}
77
<form id="get-form" class="pull-right">
@@ -252,6 +255,7 @@ <h1>{{ name }}</h1>
252
255
</div>
253
256
254
257
258
+ {% endblock content %}
259
</div><!-- /.content -->
260
</div><!-- /.container -->
261
</div><!-- ./wrapper -->
0 commit comments