Ticket #20858: patch.diff
File patch.diff, 541 bytes (added by , 11 years ago) |
---|
-
docs/intro/tutorial02.txt
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt index dd3e86d..c5c5f8f 100644
a b 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 datetime356 from django.utils import timezone357 from django.db import models358 359 from polls.models import Poll360 361 355 class Poll(models.Model): 362 356 # ... 363 357 def was_published_recently(self):