Merge pull request #4993 from jeffcjohnson/master · encode/django-rest-framework@73ad88e (original) (raw)
File tree
1 file changed
lines changed
- rest_framework/templates/rest_framework
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -63,12 +63,15 @@ | ||
63 | 63 | {% else %} |
64 | 64 | <li><a href="{{ breadcrumb_url }}">{{ breadcrumb_name }}</a></li> |
65 | 65 | {% endif %} |
66 | + {% empty %} | |
67 | + {% block breadcrumbs_empty %} {% endblock breadcrumbs_empty %} | |
66 | 68 | {% endfor %} |
67 | 69 | </ul> |
68 | 70 | {% endblock %} |
69 | 71 | |
70 | 72 | |
71 | 73 | <div id="content"> |
74 | + {% block content %} | |
72 | 75 | |
73 | 76 | {% if 'GET' in allowed_methods %} |
74 | 77 | <form id="get-form" class="pull-right"> |
@@ -252,6 +255,7 @@ {{ name }} |
||
252 | 255 | </div> |
253 | 256 | {% endif %} |
254 | 257 | {% endif %} |
258 | + {% endblock content %} | |
255 | 259 | </div> |
256 | 260 | </div> |
257 | 261 | </div> |