diff --git a/django/contrib/auth/tests/context_processors.py b/django/contrib/auth/tests/context_processors.py
index 49172c6..2b84482 100644
a
|
b
|
from django.conf import settings
|
4 | 4 | from django.contrib.auth import authenticate |
5 | 5 | from django.db.models import Q |
6 | 6 | from django.test import TestCase |
| 7 | from django.test.utils import override_settings |
7 | 8 | |
8 | 9 | |
9 | 10 | class AuthContextProcessorTests(TestCase): |
… |
… |
class AuthContextProcessorTests(TestCase):
|
22 | 23 | def tearDown(self): |
23 | 24 | settings.TEMPLATE_DIRS = self.old_TEMPLATE_DIRS |
24 | 25 | |
| 26 | @override_settings(MIDDLEWARE_CLASSES=( |
| 27 | 'django.contrib.sessions.middleware.SessionMiddleware', |
| 28 | 'django.contrib.auth.middleware.AuthenticationMiddleware', |
| 29 | )) |
25 | 30 | def test_session_not_accessed(self): |
26 | 31 | """ |
27 | 32 | Tests that the session is not accessed simply by including |
diff --git a/django/contrib/auth/tests/templates/registration/login.html b/django/contrib/auth/tests/templates/registration/login.html
index 027da71..d960111 100644
a
|
b
|
|
1 | | {{ form.as_ul }} |
2 | | No newline at end of file |
| 1 | {{ form }} |
| 2 | No newline at end of file |