Changeset 315
- Timestamp:
- 07/26/05 09:41:13 (3 years ago)
- Files:
-
- django/trunk/docs/tutorial02.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/tutorial02.txt
r274 r315 331 331 following line to ``Poll.admin``:: 332 332 333 list_filter = ('pub_date', )333 list_filter = ['pub_date'], 334 334 335 335 That adds a "Filter" sidebar that lets people filter the change list by the … … 348 348 This is shaping up well. Let's add some search capability:: 349 349 350 search_fields = ('question', )350 search_fields = ['question'], 351 351 352 352 That adds a search box at the top of the change list. When somebody enters
