mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-27 03:54:01 +03:00
Merge pull request #996 from speg/patch-1
added script block to list of blocks
This commit is contained in:
commit
0eec692f9a
|
@ -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].
|
* `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.
|
* `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).
|
* `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.
|
* `style` - CSS stylesheets for the page.
|
||||||
* `title` - Title of 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.
|
* `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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user