Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed a typo, and added an ``__future__`` import to the new signed co…

…okie tets.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 20dc647ba82a03b0e8ce58c9040b69fe67e2d141 1 parent c817f2f
@alex alex authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 django/contrib/sessions/
4 django/contrib/sessions/
@@ -1,3 +1,5 @@
+from __future__ import with_statement
from datetime import datetime, timedelta
import shutil
import tempfile
@@ -7,7 +9,7 @@
from django.contrib.sessions.backends.cache import SessionStore as CacheSession
from django.contrib.sessions.backends.cached_db import SessionStore as CacheDBSession
from django.contrib.sessions.backends.file import SessionStore as FileSession
-from django.contrib.sessions.backends.cookies import SessionStore as CookieSession
+from django.contrib.sessions.backends.signed_cookies import SessionStore as CookieSession
from django.contrib.sessions.models import Session
from django.contrib.sessions.middleware import SessionMiddleware
from django.core.exceptions import ImproperlyConfigured, SuspiciousOperation
Please sign in to comment.
Something went wrong with that request. Please try again.