1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[1.8.x] Updated tutorial to use explicit relative imports.

Backport of b2f331dc68 from master
This commit is contained in:
Tim Graham
2015-02-22 09:59:56 -05:00
parent 576c1096d2
commit ddc1e0c0fb
4 changed files with 24 additions and 17 deletions

View File

@@ -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):