From 53663be5024285226cfe5afa1171ba1d49508089 Mon Sep 17 00:00:00 2001 From: Timo Graham Date: Tue, 22 Feb 2011 00:58:38 +0000 Subject: [PATCH] [1.2.X] Fixed #15257 - Add a link about field lookups to the tutorial; thanks dwillis. Backport of r15624 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15625 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/intro/tutorial01.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index 560070b59b..b21dcd16c1 100644 --- a/docs/intro/tutorial01.txt +++ b/docs/intro/tutorial01.txt @@ -683,8 +683,11 @@ Save these changes and start a new Python interactive shell by running >>> c.delete() For more information on model relations, see :doc:`Accessing related objects -`. For full details on the database API, see our -:doc:`Database API reference `. +`. For more on how to use double underscores to perform +field lookups via the API, see `Field lookups`__. For full details on the +database API, see our :doc:`Database API reference `. + +__ http://docs.djangoproject.com/en/1.2/topics/db/queries/#field-lookups When you're comfortable with the API, read :doc:`part 2 of this tutorial ` to get Django's automatic admin working.