Django templates not extending properly
<p>I have been trying to customize Django REST framework's browsable API pages from my application, as shown <a href="http://www.django-rest-framework.org/topics/browsable-api/#customizing" rel="nofollow">here</a>, but the children templates seem to be ignored (incidentally, this also happens when trying to extend DRF Docs base template). This is the relevant part of the file tree:</p>

<pre><code>├── &lt;app&gt;
│   ├── templates
│   │   ├── &lt;app&gt;
│   │   │   └── index.html
│   │   ├── rest_framework
│   │   |   └── api.html
│   │   └── rest_framework_docs
│   │       └── docs.html
</code></pre>

<p>And even though api.html starts with <code>{% extends "rest_framework/base.html" %}</code> the changes made to the relevant code blocks (e.g. bootstrap_theme) are ignored and the default template is shown instead. What am i missing? Most related questions refer to errors in urls.py, but i believe this is not the case</p>

<p>PS: This is on Django 1.9.8</p>