Upgrade from Django 0.96 to Django 1.0.2.

Risk: high (framework change)
Visibility: medium

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3457 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/apache_auth.py b/frontend/apache_auth.py
index 481e367..4ed1471 100644
--- a/frontend/apache_auth.py
+++ b/frontend/apache_auth.py
@@ -1,13 +1,14 @@
 from django.contrib.auth.models import User, Group, check_password
+from django.contrib.auth import backends
 from django.contrib import auth
 from django import http
 
-from frontend import thread_local
-from frontend.afe import models, management
+from autotest_lib.frontend import thread_local
+from autotest_lib.frontend.afe import models, management
 
 DEBUG_USER = 'debug_user'
 
-class SimpleAuthBackend:
+class SimpleAuthBackend(backends.ModelBackend):
     """
     Automatically allows any login.  This backend is for use when Apache is
     doing the real authentication.  Also ensures logged-in user exists in