From 9d700322b38ea670800a97f2b92dd2fc2c6ff28d Mon Sep 17 00:00:00 2001 From: Kevin Christopher Henry Date: Mon, 9 Sep 2013 04:59:47 -0400 Subject: 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. --- docs/intro/tutorial05.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/intro/tutorial05.txt') diff --git a/docs/intro/tutorial05.txt b/docs/intro/tutorial05.txt index 1f0b40ed1d..14a1795a1c 100644 --- a/docs/intro/tutorial05.txt +++ b/docs/intro/tutorial05.txt @@ -319,7 +319,7 @@ Before we try to fix anything, let's have a look at the tools at our disposal. The Django test client ---------------------- -Django provides a test :class:`~django.test.client.Client` to simulate a user +Django provides a test :class:`~django.test.Client` to simulate a user interacting with the code at the view level. We can use it in ``tests.py`` or even in the shell. @@ -341,7 +341,7 @@ Next we need to import the test client class (later in ``tests.py`` we will use the :class:`django.test.TestCase` class, which comes with its own client, so this won't be required):: - >>> from django.test.client import Client + >>> from django.test import Client >>> # create an instance of the client for our use >>> client = Client() -- cgit v1.3