From b278f7478d37d3620e5addf7cc2070bc38c10871 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sun, 4 Aug 2013 05:57:11 -0400 Subject: [PATCH] Fixed #20858 -- Removed erroneous import in tutorial 2. Thanks AtomicSpark. --- docs/intro/tutorial02.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt index dd3e86d8ae8..c5c5f8f2885 100644 --- a/docs/intro/tutorial02.txt +++ b/docs/intro/tutorial02.txt @@ -352,12 +352,6 @@ representation of the output. You can improve that by giving that method (in :file:`polls/models.py`) a few attributes, as follows:: - import datetime - from django.utils import timezone - from django.db import models - - from polls.models import Poll - class Poll(models.Model): # ... def was_published_recently(self):