aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/templates
diff options
context:
space:
mode:
authorTom Christie2013-02-06 12:35:05 +0000
committerTom Christie2013-02-06 12:35:05 +0000
commit4788c87b76782b828d4c504e8a5deab4e07ebcd4 (patch)
tree21335b0ea121330bc5a3310271a7ca3cd2b87093 /rest_framework/templates
parent72fe686623f63b79fa2b7f7de177c6d98bc1da3f (diff)
downloaddjango-rest-framework-4788c87b76782b828d4c504e8a5deab4e07ebcd4.tar.bz2
Fix mismatch between template blocks and docs.
Fixes #639.
Diffstat (limited to 'rest_framework/templates')
-rw-r--r--rest_framework/templates/rest_framework/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html
index 092bf2e4..8d807574 100644
--- a/rest_framework/templates/rest_framework/base.html
+++ b/rest_framework/templates/rest_framework/base.html
@@ -13,7 +13,7 @@
<title>{% block title %}Django REST framework{% endblock %}</title>
{% block style %}
- <link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/bootstrap.min.css" %}"/>
+ {% block bootstrap_theme %}<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/bootstrap.min.css" %}"/>{% endblock %}
<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/bootstrap-tweaks.css" %}"/>
<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/prettify.css" %}"/>
<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/default.css" %}"/>