summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-08-04 05:57:11 -0400
committerTim Graham <timograham@gmail.com>2013-08-04 05:59:24 -0400
commit01a96042740788aee1c371eb191113f2700d3ccc (patch)
tree54b6db3e91feb76ad049905b31bc89751101d1df /docs
parent2eac9899856d0e19c8e2df02256f2e8c4bdb5344 (diff)
[1.6.x] Fixed #20858 -- Removed erroneous import in tutorial 2.
Thanks AtomicSpark. Backport of b278f7478d from master
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial02.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt
index dd3e86d8ae..c5c5f8f288 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):