Permalink
Browse files

Fixed #18159 -- added an import statement to the docs. Thanks to Jeff…

… Hui for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent e7d648d commit bc8b9bd438d0b8f68ef14a5ecc81326fd7447edf @alex alex committed Apr 22, 2012
Showing with 3 additions and 0 deletions.
  1. +1 −0 AUTHORS
  2. +2 −0 docs/topics/http/shortcuts.txt
View
1 AUTHORS
@@ -255,6 +255,7 @@ answer newbie questions, and generally made Django that much better:
John Huddleston <huddlej@wwu.edu>
Rob Hudson <http://rob.cogit8.org/>
Jason Huggins <http://www.jrandolph.com/blog/>
+ Jeff Hui <jeffkhui@gmail.com>
Gabriel Hurley <gabriel@strikeawe.com>
Hyun Mi Ae
Ibon <ibonso@gmail.com>
View
2 docs/topics/http/shortcuts.txt
@@ -181,6 +181,8 @@ You can use the :func:`redirect` function in a number of ways.
:meth:`~django.db.models.Model.get_absolute_url` method will be called
to figure out the redirect URL::
+ from django.shortcuts import redirect
+
def my_view(request):
...
object = MyModel.objects.get(...)

0 comments on commit bc8b9bd

Please sign in to comment.