diff options
author | Tim Graham <timograham@gmail.com> | 2013-08-15 15:24:58 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2013-08-15 15:31:57 -0400 |
commit | 7825fb878873bfab6762ce001b0446f3ebfb25ea (patch) | |
tree | 7a35fb844612d932cf32e93173e7cebf1ab7fc76 /docs | |
parent | ccff25b1431bd1bb9d633b1ca1d3aff79acc33d9 (diff) | |
download | django-7825fb878873bfab6762ce001b0446f3ebfb25ea.tar.gz |
[1.6.x] Fixed #20891 -- Removed part of the tutorial that requires pytz
Thanks AtomicSpark for the report.
Backport of 55339a7669 from master
Diffstat (limited to 'docs')
-rw-r--r-- | docs/intro/tutorial02.txt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt index c5c5f8f288..3ffe475e1b 100644 --- a/docs/intro/tutorial02.txt +++ b/docs/intro/tutorial02.txt @@ -385,15 +385,6 @@ search terms, Django will search the ``question`` field. You can use as many fields as you'd like -- although because it uses a ``LIKE`` query behind the scenes, keep it reasonable, to keep your database happy. -Finally, because ``Poll`` objects have dates, it'd be convenient to be able to -drill down by date. Add this line:: - - date_hierarchy = 'pub_date' - -That adds hierarchical navigation, by date, to the top of the change list page. -At top level, it displays all available years. Then it drills down to months -and, ultimately, days. - Now's also a good time to note that change lists give you free pagination. The default is to display 100 items per page. Change-list pagination, search boxes, filters, date-hierarchies and column-header-ordering all work together like you |