Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #3282 -- Fixed incorrect statement in docs/tutorial03.txt. Than…

…ks, dave.pawson@gmail.com and Simon G.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 31bdd8d720c6a18c295513cf5af215993c11c82a 1 parent 9afddbe
Adrian Holovaty authored January 23, 2007

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  docs/tutorial03.txt
3  docs/tutorial03.txt
@@ -260,8 +260,7 @@ provides a shortcut. Here's the full ``index()`` view, rewritten::
260 260
         latest_poll_list = Poll.objects.all().order_by('-pub_date')[:5]
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
267 266
 argument and a dictionary as its optional second argument. It returns an

0 notes on commit 31bdd8d

Please sign in to comment.
Something went wrong with that request. Please try again.