aboutsummaryrefslogtreecommitdiffstats
path: root/docs/topics/browsable-api.md
diff options
context:
space:
mode:
authorKarol Majta2013-05-18 16:56:38 +0200
committerKarol Majta2013-05-18 16:56:38 +0200
commit5bebd29f11dd9268b9a23c27cf58c8440664f5e9 (patch)
tree66f75d176f8746432cf9083c0bdfe92a068e142f /docs/topics/browsable-api.md
parentebe959b52a10a88975b15c69275b0ef5c50cb9fa (diff)
parent3f47eb7a77fcc735782dd1bf8e8e053e26417ea1 (diff)
downloaddjango-rest-framework-5bebd29f11dd9268b9a23c27cf58c8440664f5e9.tar.bz2
Merge branch 'master' of git://github.com/tomchristie/django-rest-framework
Diffstat (limited to 'docs/topics/browsable-api.md')
-rw-r--r--docs/topics/browsable-api.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/topics/browsable-api.md b/docs/topics/browsable-api.md
index 8ee01824..65f76abc 100644
--- a/docs/topics/browsable-api.md
+++ b/docs/topics/browsable-api.md
@@ -35,6 +35,17 @@ A suitable replacement theme can be generated using Bootstrap's [Customize Tool]
You can also change the navbar variant, which by default is `navbar-inverse`, using the `bootstrap_navbar_variant` block. The empty `{% block bootstrap_navbar_variant %}{% endblock %}` will use the original Bootstrap navbar style.
+Full Example
+
+ {% extends "rest_framework/base.html" %}
+
+ {% block bootstrap_theme %}
+ <link rel="stylesheet" href="/path/to/yourtheme/bootstrap.min.css' type="text/css">
+ {% endblock %}
+
+ {% block bootstrap_navbar_variant %}{% endblock %}
+
+
For more specific CSS tweaks, use the `style` block instead.