diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-22 09:59:56 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-22 14:20:02 -0500 |
| commit | b2f331dc68ec3c5a34285f7af9614e4178e9a371 (patch) | |
| tree | 8e9f7fa2b644634bf6a6b375c739d513e7c7c3d7 /docs/intro/tutorial05.txt | |
| parent | ff5e47e7a4a638a30424331222e0abdb60842ddd (diff) | |
Updated tutorial to use explicit relative imports.
Diffstat (limited to 'docs/intro/tutorial05.txt')
| -rw-r--r-- | docs/intro/tutorial05.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/intro/tutorial05.txt b/docs/intro/tutorial05.txt index 545a84ad80..ab8b28bdf4 100644 --- a/docs/intro/tutorial05.txt +++ b/docs/intro/tutorial05.txt @@ -170,7 +170,8 @@ Put the following in the ``tests.py`` file in the ``polls`` application: from django.utils import timezone from django.test import TestCase - from polls.models import Question + from .models import Question + class QuestionMethodTests(TestCase): |
