summaryrefslogtreecommitdiff
path: root/django/core/handler.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-07-15 17:09:01 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-07-15 17:09:01 +0000
commitf4c581158d489aba88f3cbb2c61dd44949ea0038 (patch)
treec3e331d027add4440c1c7dae70e09129c87fc7b3 /django/core/handler.py
parent960644ab08431ad5b608ee6bc2adaaf068c2a7be (diff)
Renamed CMSRequest to DjangoRequest, and CMSContext to DjangoContext. Old code will still work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@57 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/handler.py')
-rw-r--r--django/core/handler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/handler.py b/django/core/handler.py
index 1412ee6838..42f4c69d4c 100644
--- a/django/core/handler.py
+++ b/django/core/handler.py
@@ -77,8 +77,8 @@ class CoreHandler:
def get_request(self, req):
"Returns an HttpRequest object for the given mod_python req object"
- from django.core.extensions import CMSRequest
- return CMSRequest(req)
+ from django.core.extensions import DjangoRequest
+ return DjangoRequest(req)
def get_response(self, path, request):
"Returns an HttpResponse object for the given HttpRequest"