summaryrefslogtreecommitdiff
path: root/tests/regressiontests/context_processors/views.py
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2009-10-15 14:12:34 +0000
committerLuke Plant <L.Plant.98@cantab.net>2009-10-15 14:12:34 +0000
commita2d8acbacda353248fd191b97155cd4cf27dcd66 (patch)
tree5941baafeb1c30840e837043418e9a362a83000e /tests/regressiontests/context_processors/views.py
parentc161bf21f0ab9f2945ae7a44e5757b071f7eb712 (diff)
Fixed a regression on Python 2.6 caused by r11623
This might fix #12037, but I cannot reproduce that bug. Refs #12037 git-svn-id: http://code.djangoproject.com/svn/django/trunk@11625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/context_processors/views.py')
-rw-r--r--tests/regressiontests/context_processors/views.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/regressiontests/context_processors/views.py b/tests/regressiontests/context_processors/views.py
index e5195f9c65..3f2dcb037b 100644
--- a/tests/regressiontests/context_processors/views.py
+++ b/tests/regressiontests/context_processors/views.py
@@ -32,3 +32,6 @@ def auth_processor_messages(request):
request.user.message_set.create(message="Message 1")
return render_to_response('context_processors/auth_attrs_messages.html',
RequestContext(request, {}, processors=[context_processors.auth]))
+
+def userpage(request):
+ pass