Skip to content

Commit

Permalink
[1.6.x] Fixed #20858 -- Removed erroneous import in tutorial 2.
Browse files Browse the repository at this point in the history
Thanks AtomicSpark.

Backport of b278f74 from master
  • Loading branch information
timgraham committed Aug 4, 2013
1 parent 2eac989 commit 01a9604
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/intro/tutorial02.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 01a9604

Please sign in to comment.