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
This commit is contained in:
parent
30d4e9424d
commit
3c948d45d2
|
@ -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()
|
||||
-------------------
|
||||
|
|
Loading…
Reference in New Issue