Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit bc8b9bd438d0b8f68ef14a5ecc81326fd7447edf 1 parent e7d648d
Alex Gaynor authored April 22, 2012
1  AUTHORS
@@ -255,6 +255,7 @@ answer newbie questions, and generally made Django that much better:
255 255
     John Huddleston <huddlej@wwu.edu>
256 256
     Rob Hudson <http://rob.cogit8.org/>
257 257
     Jason Huggins <http://www.jrandolph.com/blog/>
  258
+    Jeff Hui <jeffkhui@gmail.com>
258 259
     Gabriel Hurley <gabriel@strikeawe.com>
259 260
     Hyun Mi Ae
260 261
     Ibon <ibonso@gmail.com>
2  docs/topics/http/shortcuts.txt
@@ -181,6 +181,8 @@ You can use the :func:`redirect` function in a number of ways.
181 181
    :meth:`~django.db.models.Model.get_absolute_url` method will be called
182 182
    to figure out the redirect URL::
183 183
 
  184
+        from django.shortcuts import redirect
  185
+
184 186
         def my_view(request):
185 187
             ...
186 188
             object = MyModel.objects.get(...)

0 notes on commit bc8b9bd

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