Ticket #15257: 15257.diff

File 15257.diff, 1.2 KB (added by dwillis, 5 years ago)
  • docs/intro/tutorial01.txt

    From d5353566b1cff49293d365145fb1ecd6b595ef08 Mon Sep 17 00:00:00 2001
    From: Derek Willis <dwillis@gmail.com>
    Date: Sat, 19 Feb 2011 20:19:42 -0500
    Subject: [PATCH] added link to double-underscore syntax explanation to tutorial01
    
    ---
     docs/intro/tutorial01.txt |    7 +++++--
     1 files changed, 5 insertions(+), 2 deletions(-)
    
    diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
    index b6cbebf..29a2cb7 100644
    a b Save these changes and start a new Python interactive shell by running 
    686686    >>> c.delete()
    687687
    688688For more information on model relations, see :doc:`Accessing related objects
    689 </ref/models/relations>`. For full details on the database API, see our
    690 :doc:`Database API reference </topics/db/queries>`.
     689</ref/models/relations>`. For more on how to use double underscores to perform
     690field lookups via the API, see `Field lookups`__. For full details on the
     691database API, see our :doc:`Database API reference </topics/db/queries>`.
     692
     693__ http://docs.djangoproject.com/en/1.2/topics/db/queries/#field-lookups
    691694
    692695When you're comfortable with the API, read :doc:`part 2 of this tutorial
    693696</intro/tutorial02>` to get Django's automatic admin working.
Back to Top