Changeset 4393
- Timestamp:
- 01/22/07 20:02:35 (2 years ago)
- Files:
-
- django/trunk/docs/tutorial03.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/tutorial03.txt
r4275 r4393 261 261 return render_to_response('polls/index.html', {'latest_poll_list': latest_poll_list}) 262 262 263 Note that we no longer need to import ``loader``, ``Context`` or 264 ``HttpResponse``. 263 Note that once we've done this in all these views, we no longer need to import ``loader``, ``Context`` and ``HttpResponse``. 265 264 266 265 The ``render_to_response()`` function takes a template name as its first
