mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Made some tiny tweaks to docs/tutorial02.txt -- thanks, anonymous
git-svn-id: http://code.djangoproject.com/svn/django/trunk@527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -302,6 +302,7 @@ on the change list page for the object:: | ||||
|     class Poll(meta.Model): | ||||
|         # ... | ||||
|         admin = meta.Admin( | ||||
|             # ... | ||||
|             list_display = ('question', 'pub_date'), | ||||
|         ) | ||||
|  | ||||
| @@ -342,8 +343,7 @@ That adds a "Filter" sidebar that lets people filter the change list by the | ||||
| The type of filter displayed depends on the type of field you're filtering on. | ||||
| Because ``pub_date`` is a DateTimeField, Django knows to give the default | ||||
| filter options for DateTimeFields: "Any date," "Today," "Past 7 days," | ||||
| "This month," "This year." Explore using ``list_filter`` on other types of | ||||
| fields. | ||||
| "This month," "This year." | ||||
|  | ||||
| This is shaping up well. Let's add some search capability:: | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user