Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.6.x] Fixed #20858 -- Removed erroneous import in tutorial 2.

Thanks AtomicSpark.

Backport of b278f74 from master
  • Loading branch information...
commit 01a96042740788aee1c371eb191113f2700d3ccc 1 parent 2eac989
Tim Graham authored August 04, 2013

Showing 1 changed file with 0 additions and 6 deletions. Show diff stats Hide diff stats

  1. 6  docs/intro/tutorial02.txt
6  docs/intro/tutorial02.txt
@@ -352,12 +352,6 @@ representation of the output.
352 352
 You can improve that by giving that method (in :file:`polls/models.py`) a few
353 353
 attributes, as follows::
354 354
 
355  
-    import datetime
356  
-    from django.utils import timezone
357  
-    from django.db import models
358  
-
359  
-    from polls.models import Poll
360  
-
361 355
     class Poll(models.Model):
362 356
         # ...
363 357
         def was_published_recently(self):

0 notes on commit 01a9604

Please sign in to comment.
Something went wrong with that request. Please try again.