aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/request.py
diff options
context:
space:
mode:
authorTom Christie2012-10-13 15:07:43 +0100
committerTom Christie2012-10-13 15:07:43 +0100
commit7608cf1193fd555f31eb9a3d98c6f258720f8022 (patch)
tree3ba2671288a64ddc29fc4fc6c45c601f24ca551a /rest_framework/request.py
parent9094f93d188859f5db9198a170bbb65d5b9e9286 (diff)
downloaddjango-rest-framework-7608cf1193fd555f31eb9a3d98c6f258720f8022.tar.bz2
Improve documentation for Requests
Diffstat (limited to 'rest_framework/request.py')
-rw-r--r--rest_framework/request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/request.py b/rest_framework/request.py
index 0a57d376..7267b368 100644
--- a/rest_framework/request.py
+++ b/rest_framework/request.py
@@ -96,7 +96,7 @@ class Request(object):
"""
Returns the content type header.
- This should be used instead of ``request.META.get('HTTP_CONTENT_TYPE')``,
+ This should be used instead of `request.META.get('HTTP_CONTENT_TYPE')`,
as it allows the content type to be overridden by using a hidden form
field on a form POST request.
"""