From b2f331dc68ec3c5a34285f7af9614e4178e9a371 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sun, 22 Feb 2015 09:59:56 -0500 Subject: Updated tutorial to use explicit relative imports. --- docs/intro/tutorial05.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/intro/tutorial05.txt') 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): -- cgit v1.3