Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

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

Thanks AtomicSpark.

Backport of b278f74 from master
  • Loading branch information...
1 parent 2eac989 commit 01a96042740788aee1c371eb191113f2700d3ccc @timgraham timgraham committed
Showing with 0 additions and 6 deletions.
  1. +0 −6 docs/intro/tutorial02.txt
6 docs/intro/tutorial02.txt
@@ -352,12 +352,6 @@ representation of the output.
You can improve that by giving that method (in :file:`polls/`) 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):

0 comments on commit 01a9604

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