Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #20891 -- Removed part of the tutorial that requires pytz

Thanks AtomicSpark for the report.
  • Loading branch information...
commit 55339a76691724109770092976e660ac62358bc5 1 parent bc5716f
Tim Graham authored August 15, 2013

Showing 1 changed file with 0 additions and 9 deletions. Show diff stats Hide diff stats

  1. 9  docs/intro/tutorial02.txt
9  docs/intro/tutorial02.txt
@@ -385,15 +385,6 @@ search terms, Django will search the ``question`` field. You can use as many
385 385
 fields as you'd like -- although because it uses a ``LIKE`` query behind the
386 386
 scenes, keep it reasonable, to keep your database happy.
387 387
 
388  
-Finally, because ``Poll`` objects have dates, it'd be convenient to be able to
389  
-drill down by date. Add this line::
390  
-
391  
-    date_hierarchy = 'pub_date'
392  
-
393  
-That adds hierarchical navigation, by date, to the top of the change list page.
394  
-At top level, it displays all available years. Then it drills down to months
395  
-and, ultimately, days.
396  
-
397 388
 Now's also a good time to note that change lists give you free pagination. The
398 389
 default is to display 100 items per page. Change-list pagination, search boxes,
399 390
 filters, date-hierarchies and column-header-ordering all work together like you

0 notes on commit 55339a7

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