Django

Code

Changeset 2869

Show
Ignore:
Timestamp:
05/09/06 10:21:28 (3 years ago)
Author:
adrian
Message:

Fixed #1815 -- Fixed ReST errors in docs. Thanks, nico@teknico.net

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/db-api.txt

    r2862 r2869  
    10711071 
    10721072Django offers a powerful and intuitive way to "follow" relationships in 
    1073 lookups, taking care of the SQL ``JOIN``s for you automatically, behind the 
     1073lookups, taking care of the SQL ``JOIN``\s for you automatically, behind the 
    10741074scenes. To span a relationship, just use the field name of related fields 
    10751075across models, separated by double underscores, until you get to the field you 
  • django/trunk/docs/generic_views.txt

    r2809 r2869  
    6363objects. 
    6464 
     65.. _database API docs: http://www.djangoproject.com/documentation/db_api/ 
     66 
    6567"Simple" generic views 
    6668====================== 
  • django/trunk/docs/model-api.txt

    r2863 r2869  
    5353      some model metadata but can be overridden. See _`Table names` below. 
    5454    * An ``id`` field is added automatically, but this behavior can be 
    55       overriden. See _`Automatic primary key fields` below. 
     55      overriden. See `Automatic primary key fields`_ below. 
    5656    * The ``CREATE TABLE`` SQL in this example is formatted using PostgreSQL 
    5757      syntax, but it's worth noting Django uses SQL tailored to the database 
     
    125125You usually won't need to use this directly; a primary key field will 
    126126automatically be added to your model if you don't specify otherwise. See 
    127 _`Automatic primary key fields`
     127`Automatic primary key fields`_
    128128 
    129129``BooleanField`` 
     
    11121112the same order as the fields are defined in the model. 
    11131113 
    1114 The ``field_options`` dictionary can have the following keys:: 
     1114The ``field_options`` dictionary can have the following keys: 
    11151115 
    11161116``fields`` 
     
    13121312section of the database API docs, but this section specifically touches on 
    13131313model options that customize ``Manager`` behavior. 
     1314 
     1315.. _Retrieving objects: http://www.djangoproject.com/documentation/db_api/#retrieving-objects 
    13141316 
    13151317Manager names 
     
    14021404...the statement ``Book.objects.all()`` will return all books in the database. 
    14031405 
    1404 You can override a ``Manager``'s base ``QuerySet`` by overriding the 
     1406You can override a ``Manager``\'s base ``QuerySet`` by overriding the 
    14051407``Manager.get_query_set()`` method. ``get_query_set()`` should return a 
    14061408``QuerySet`` with the properties you require. 
    14071409 
    1408 For example, the following model has *two* ``Manager``s -- one that returns 
     1410For example, the following model has *two* ``Manager``\s -- one that returns 
    14091411all objects, and one that returns only the books by Roald Dahl:: 
    14101412 
  • django/trunk/docs/request_response.txt

    r2809 r2869  
    103103    `Authentication in Web requests`_. 
    104104 
    105     .. Authentication in Web requests: http://www.djangoproject.com/documentation/authentication/#authentication-in-web-requests 
     105    .. _Authentication in Web requests: http://www.djangoproject.com/documentation/authentication/#authentication-in-web-requests 
    106106 
    107107``session`` 
  • django/trunk/docs/tutorial01.txt

    r2853 r2869  
    7070      contents" of your Django-powered site. 
    7171 
    72 .. _more on packages: http://docs.python.org/tut/node8.html#packages 
     72.. _more about packages: http://docs.python.org/tut/node8.html#packages 
    7373 
    7474The development server