aboutsummaryrefslogtreecommitdiffstats
path: root/docs/topics/browsable-api.md
diff options
context:
space:
mode:
authorPablo Recio2013-05-18 16:11:06 +0200
committerPablo Recio2013-05-18 16:11:06 +0200
commit50ba26822d5c448295dfd514452ea2278af09708 (patch)
treed602e6144db04eb8b20313fe45d785994c747acd /docs/topics/browsable-api.md
parent392c8556aed41df2120623fe1c891610bb111100 (diff)
parentea9a3d88bce5507af753a79b259e6bd8e53a9059 (diff)
downloaddjango-rest-framework-50ba26822d5c448295dfd514452ea2278af09708.tar.bz2
Merge branch 'master' into 675-empty-label-related-field
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.