diff --git a/api-guide/responses.html b/api-guide/responses.html index 18649c0af..d16b7270f 100644 --- a/api-guide/responses.html +++ b/api-guide/responses.html @@ -97,9 +97,9 @@
Signature: .render()
This methd is called to render the serialized data of the response into the final response content. When .render()
is called, the response content will be set to the result of calling the .render(data, accepted_media_type)
method on the accepted renderer instance.
You won't typically need to call .render()
yourself, as it's handled by Django's standard response cycle.
The Response
class extends SimpleTemplateResponse
, and all the usual methods are also available on the response. For example you can set headers on the response in the standard way:
response = Response()
response['Cache-Control'] = 'no-cache'
diff --git a/css/default.css b/css/default.css
index 28cd9a195..5a73fb99d 100644
--- a/css/default.css
+++ b/css/default.css
@@ -154,6 +154,7 @@ body, .navbar .navbar-inner .container-fluid{
body{
background: url("../img/grid.png") repeat-x;
+ background-attachment: fixed;
}
/* custom navigation styles */