From 3c948d45d2866d834a765023e1a3c1bca8ef5697 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sat, 26 May 2007 09:53:16 +0000 Subject: [PATCH] Fixed #4388 -- Documented where the view shortcuts are imported from. Based on a patch from Jure Cuhalev. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5356 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/db-api.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/db-api.txt b/docs/db-api.txt index de612e0e3d..6f13b3a467 100644 --- a/docs/db-api.txt +++ b/docs/db-api.txt @@ -1748,7 +1748,8 @@ Shortcuts As you develop views, you will discover a number of common idioms in the way you use the database API. Django encodes some of these idioms as -shortcuts that can be used to simplify the process of writing views. +shortcuts that can be used to simplify the process of writing views. These +functions are in the ``django.shortcuts`` module. get_object_or_404() -------------------