aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/request.py
diff options
context:
space:
mode:
authorSébastien Piquemal2012-01-25 00:11:54 +0200
committerSébastien Piquemal2012-01-25 00:11:54 +0200
commit152c385f4de37558fe4e522abad5b97f0cf7ddce (patch)
tree4950e8832756e74b998fd273c4addfcc186e842d /djangorestframework/request.py
parent714a90d7559885c15e5b2c86ef6f457fdf857ee0 (diff)
downloaddjango-rest-framework-152c385f4de37558fe4e522abad5b97f0cf7ddce.tar.bz2
enhanced request how-to + example
Diffstat (limited to 'djangorestframework/request.py')
-rw-r--r--djangorestframework/request.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/djangorestframework/request.py b/djangorestframework/request.py
index 40d92eef..1674167d 100644
--- a/djangorestframework/request.py
+++ b/djangorestframework/request.py
@@ -11,6 +11,8 @@ This enhanced request object offers the following :
from django.http import HttpRequest
+from djangorestframework.response import ErrorResponse
+from djangorestframework import status
from djangorestframework.utils.mediatypes import is_form_media_type, order_by_precedence
from djangorestframework.utils import as_tuple