Code

Ticket #12918: 12918.diff

File 12918.diff, 952 bytes (added by cassidy, 4 years ago)
Line 
1Index: intro/tutorial02.txt
2===================================================================
3--- intro/tutorial02.txt        (revision 12796)
4+++ intro/tutorial02.txt        (working copy)
5@@ -286,7 +286,7 @@
6 This tells Django: "Choice objects are edited on the Poll admin page. By
7 default, provide enough fields for 3 choices."
8 
9-Load the "Add poll" page to see how that looks:
10+Load the "Add poll" page to see how that looks, you may need to restart your development server:
11 
12 .. image:: _images/admin11t.png
13    :alt: Add poll page now has choices on it
14@@ -352,7 +352,7 @@
15         return self.pub_date.date() == datetime.date.today()
16     was_published_today.short_description = 'Published today?'
17 
18-Let's add another improvement to the Poll change list page: Filters. Add the
19+Edit your admin.py file again and add an improvement to the Poll change list page: Filters. Add the
20 following line to ``PollAdmin``::
21 
22     list_filter = ['pub_date']