diff options
| author | Joseph Kocherhans <joseph@jkocherhans.com> | 2006-01-18 19:03:19 +0000 |
|---|---|---|
| committer | Joseph Kocherhans <joseph@jkocherhans.com> | 2006-01-18 19:03:19 +0000 |
| commit | 9f4d2d5d27d5c0863f9899d603cdb0f4ccca8bf8 (patch) | |
| tree | 27384c2624fecd147208c8b3d50916c01803e8c5 /docs/tutorial04.txt | |
| parent | 471bae17fad0d4864035c8dcd18a5ee6e705c510 (diff) | |
magic-removal: Updated docs to reflect new location of django.core.extensions.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial04.txt')
| -rw-r--r-- | docs/tutorial04.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial04.txt b/docs/tutorial04.txt index 5f6537cdc0..eccf13d647 100644 --- a/docs/tutorial04.txt +++ b/docs/tutorial04.txt @@ -48,7 +48,7 @@ included this line:: So let's create a ``vote()`` function in ``myproject/polls/views.py``:: - from django.core.extensions import get_object_or_404, render_to_response + from django.shortcuts import get_object_or_404, render_to_response from django.models.polls import choices, polls from django.http import HttpResponseRedirect |
