Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #20858 -- Removed erroneous import in tutorial 2.

Thanks AtomicSpark.
  • Loading branch information...
commit b278f7478d37d3620e5addf7cc2070bc38c10871 1 parent 7843775
@timgraham timgraham authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 docs/intro/tutorial02.txt
View
6 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):
Please sign in to comment.
Something went wrong with that request. Please try again.