changeset 184:0e7a88b20c2b

Oops, realized that the reason the tests were failing is indeed not because of a bug in Django, but because I specified the order of middleware wrong.
author Atul Varma <varmaa@toolness.com>
date Thu, 17 Apr 2008 11:51:10 -0700
parents cd24b475ca76
children 34d8d7bdcd42
files README personasbackend/settings.py
diffstat 2 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/README	Thu Apr 17 11:30:48 2008 -0700
+++ b/README	Thu Apr 17 11:51:10 2008 -0700
@@ -25,10 +25,6 @@
 
   python manage.py test
 
-(NOTE: As of April 17, 2008, the unit tests won't succeed due to what
-appears to be a bug in Django.  See
-http://code.djangoproject.com/ticket/5176 for more information.)
-
 If you need more help, try:
 
   python manage.py --help
--- a/personasbackend/settings.py	Thu Apr 17 11:30:48 2008 -0700
+++ b/personasbackend/settings.py	Thu Apr 17 11:51:10 2008 -0700
@@ -64,10 +64,10 @@
 )
 
 MIDDLEWARE_CLASSES = (
-    'django.middleware.cache.CacheMiddleware',
     'django.middleware.common.CommonMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
+    'django.middleware.cache.CacheMiddleware',
     'django.middleware.doc.XViewMiddleware',
 )