diff options
| author | Kevin Christopher Henry <k@severian.com> | 2013-09-09 04:59:47 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-09-09 16:03:13 -0400 |
| commit | 9d700322b38ea670800a97f2b92dd2fc2c6ff28d (patch) | |
| tree | 03972a5cf4a8b5eeb69909ddacbe33eeae1d2efd /docs/topics/auth | |
| parent | a52cc1c0888c2cedb07b2c0619c1a92a2f6e2c40 (diff) | |
Fixed #19885 -- cleaned up the django.test namespace
* override_settings may now be imported from django.test
* removed Approximate from django.test
* updated documentation for things importable from django.test
Thanks akaariai for the suggestion.
Diffstat (limited to 'docs/topics/auth')
| -rw-r--r-- | docs/topics/auth/customizing.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index bb44f091fe..1407ed4d8f 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -869,8 +869,7 @@ would test three possible User models -- the default, plus the two User models provided by ``auth`` app:: from django.contrib.auth.tests.utils import skipIfCustomUser - from django.test import TestCase - from django.test.utils import override_settings + from django.test import TestCase, override_settings class ApplicationTestCase(TestCase): |
