diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt
index 54cc019..7b40062 100644
a
|
b
|
you want, using whatever Python libraries you want.
|
287 | 287 | All Django wants is that :class:`~django.http.HttpResponse`. Or an exception. |
288 | 288 | |
289 | 289 | Because it's convenient, let's use Django's own database API, which we covered |
290 | | in :doc:`Tutorial 1 </intro/tutorial01>`. Here's one stab at the ``index()`` |
| 290 | in :doc:`Tutorial 1 </intro/tutorial01>`. Here's one stab at a new ``index()`` |
291 | 291 | view, which displays the latest 5 poll questions in the system, separated by |
292 | 292 | commas, according to publication date: |
293 | 293 | |
… |
… |
commas, according to publication date:
|
304 | 304 | output = ', '.join([p.question_text for p in latest_question_list]) |
305 | 305 | return HttpResponse(output) |
306 | 306 | |
| 307 | # Leave the rest of the views (detail, results, vote) unchanged |
| 308 | |
307 | 309 | There's a problem here, though: the page's design is hard-coded in the view. If |
308 | 310 | you want to change the way the page looks, you'll have to edit this Python code. |
309 | 311 | So let's use Django's template system to separate the design from Python by |