Code

Ticket #20482: 20482_docs-tutorial03_index-view-py.diff

File 20482_docs-tutorial03_index-view-py.diff, 533 bytes (added by elena, 11 months ago)

Adding 7 words to describe which file the code goes in.

Line 
1diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt
2index 0bbfcdd..6976a25 100644
3--- a/docs/intro/tutorial03.txt
4+++ b/docs/intro/tutorial03.txt
5@@ -336,7 +336,7 @@ Put the following code in that template:
6         <p>No polls are available.</p>
7     {% endif %}
8 
9-Now let's use that html template in our index view::
10+Now let's use that html template in our index view. Put the following code in your ``polls/views.py``::
11 
12     from django.http import HttpResponse
13     from django.template import Context, loader