1
0
mirror of https://github.com/django/django.git synced 2025-04-15 21:04:36 +00:00

[1.5.x] Fixed #20482 - Added a file reference in tutorial 3.

Thanks diek@ for the suggestion.

Backport of 9e65bd33db from master
This commit is contained in:
Tim Graham 2013-05-23 08:36:53 -04:00
parent a6ff705aea
commit 7df9c2bc7d

View File

@ -336,7 +336,7 @@ Put the following code in that template:
<p>No polls are available.</p>
{% endif %}
Now let's use that html template in our index view::
Now let's update our ``index`` view in ``polls/views.py`` to use the template::
from django.http import HttpResponse
from django.template import Context, loader