mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -4,12 +4,7 @@ from django.conf import settings | ||||
| from django.utils.cache import patch_vary_headers | ||||
| from django.utils.http import cookie_date | ||||
|  | ||||
| TEST_COOKIE_NAME = 'testcookie' | ||||
| TEST_COOKIE_VALUE = 'worked' | ||||
|  | ||||
|  | ||||
| class SessionMiddleware(object): | ||||
|  | ||||
|     def process_request(self, request): | ||||
|         engine = __import__(settings.SESSION_ENGINE, {}, {}, ['']) | ||||
|         session_key = request.COOKIES.get(settings.SESSION_COOKIE_NAME, None) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user