Author: Alex Date: 2011-06-26 12:22:53 -0700 (Sun, 26 Jun 2011) New Revision: 16467
Modified: django/trunk/django/contrib/sessions/tests.py Log: Fixed a typo, and added an ``__future__`` import to the new signed cookie tets. Modified: django/trunk/django/contrib/sessions/tests.py =================================================================== --- django/trunk/django/contrib/sessions/tests.py 2011-06-26 17:00:24 UTC (rev 16466) +++ django/trunk/django/contrib/sessions/tests.py 2011-06-26 19:22:53 UTC (rev 16467) @@ -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 -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
