aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2013-07-23 08:16:53 -0700
committerTom Christie2013-07-23 08:16:53 -0700
commit0eec692f9a884a1b303910e2595eefcd5215dfff (patch)
treedf6ca4a76561312c86cb2fe6f1d88ba25e69bbd4
parent596d76ffd4e1a86c6b3678669012442a6a3e4eb4 (diff)
parent61a242e27b483bb9570cc8eec2bc42a81ed09c45 (diff)
downloaddjango-rest-framework-0eec692f9a884a1b303910e2595eefcd5215dfff.tar.bz2
Merge pull request #996 from speg/patch-1
added script block to list of blocks
-rw-r--r--docs/topics/browsable-api.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/browsable-api.md b/docs/topics/browsable-api.md
index 895b3c5f..2ae8cadb 100644
--- a/docs/topics/browsable-api.md
+++ b/docs/topics/browsable-api.md
@@ -75,6 +75,7 @@ All of the blocks available in the browsable API base template that can be used
* `branding` - Branding section of the navbar, see [Bootstrap components][bcomponentsnav].
* `breadcrumbs` - Links showing resource nesting, allowing the user to go back up the resources. It's recommended to preserve these, but they can be overridden using the breadcrumbs block.
* `footer` - Any copyright notices or similar footer materials can go here (by default right-aligned).
+* `script` - JavaScript files for the page.
* `style` - CSS stylesheets for the page.
* `title` - Title of the page.
* `userlinks` - This is a list of links on the right of the header, by default containing login/logout links. To add links instead of replace, use `{{ block.super }}` to preserve the authentication links.
@@ -170,4 +171,4 @@ You can now add the `autocomplete_light.ChoiceWidget` widget to the serializer f
[autocomplete-packages]: https://www.djangopackages.com/grids/g/auto-complete/
[django-autocomplete-light]: https://github.com/yourlabs/django-autocomplete-light
[django-autocomplete-light-install]: http://django-autocomplete-light.readthedocs.org/en/latest/#install
-[autocomplete-image]: ../img/autocomplete.png \ No newline at end of file
+[autocomplete-image]: ../img/autocomplete.png