Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed TEST_COOKIE_NAME and TEST_COOKIE_VALUE constants from

sessions.middleware. They haven't been used here since the great refactor and
are duplicated in sessions.backends.base.SessionBase.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 004ff03a8eec02c9656544bb9881d6edaeda961c 1 parent 8880fdd
Malcolm Tredinnick authored July 30, 2008

Showing 1 changed file with 0 additions and 5 deletions. Show diff stats Hide diff stats

  1. 5  django/contrib/sessions/middleware.py
5  django/contrib/sessions/middleware.py
@@ -4,12 +4,7 @@
4 4
 from django.utils.cache import patch_vary_headers
5 5
 from django.utils.http import cookie_date
6 6
 
7  
-TEST_COOKIE_NAME = 'testcookie'
8  
-TEST_COOKIE_VALUE = 'worked'
9  
-
10  
-
11 7
 class SessionMiddleware(object):
12  
-
13 8
     def process_request(self, request):
14 9
         engine = __import__(settings.SESSION_ENGINE, {}, {}, [''])
15 10
         session_key = request.COOKIES.get(settings.SESSION_COOKIE_NAME, None)

0 notes on commit 004ff03

Please sign in to comment.
Something went wrong with that request. Please try again.