summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--docs/topics/http/shortcuts.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index fc3cb93406..e3aec98d94 100644
--- a/AUTHORS
+++ b/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>
diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt
index 9c05c6e5e9..2185d5497f 100644
--- a/docs/topics/http/shortcuts.txt
+++ b/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(...)