Merge pull request #3769 from mlissner/master

Fixes #3756, adding the name to the HTML title, if it exists.
This commit is contained in:
Tom Christie 2015-12-23 16:58:29 +00:00
commit 2d27d9a10a

View File

@ -12,7 +12,7 @@
<meta name="robots" content="NONE,NOARCHIVE" /> <meta name="robots" content="NONE,NOARCHIVE" />
{% endblock %} {% endblock %}
<title>{% block title %}Django REST framework{% endblock %}</title> <title>{% block title %}{% if name %}{{ name }} {% endif %}Django REST framework{% endblock %}</title>
{% block style %} {% block style %}
{% block bootstrap_theme %} {% block bootstrap_theme %}