Author: adrian
Date: 2007-01-22 20:02:35 -0600 (Mon, 22 Jan 2007)
New Revision: 4393
Modified:
django/trunk/docs/tutorial03.txt
Log:
Fixed #3282 -- Fixed incorrect statement in docs/tutorial03.txt. Thanks, [EMAIL
PROTECTED] and Simon G.
Modified: django/trunk/docs/tutorial03.txt
===================================================================
--- django/trunk/docs/tutorial03.txt 2007-01-23 02:01:20 UTC (rev 4392)
+++ django/trunk/docs/tutorial03.txt 2007-01-23 02:02:35 UTC (rev 4393)
@@ -260,8 +260,7 @@
latest_poll_list = Poll.objects.all().order_by('-pub_date')[:5]
return render_to_response('polls/index.html', {'latest_poll_list':
latest_poll_list})
-Note that we no longer need to import ``loader``, ``Context`` or
-``HttpResponse``.
+Note that once we've done this in all these views, we no longer need to import
``loader``, ``Context`` and ``HttpResponse``.
The ``render_to_response()`` function takes a template name as its first
argument and a dictionary as its optional second argument. It returns an
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---