Django

Code

Changeset 5571

Show
Ignore:
Timestamp:
06/30/07 20:00:23 (1 year ago)
Author:
adrian
Message:

Fixed #4690 -- Fixed a bunch of ReST errors in docs. Thanks, Paul B.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/authentication.txt

    r5537 r5571  
    462462-------------------- 
    463463 
    464 In addition to the `login` view, the authentication system includes a 
     464In addition to the ``login`` view, the authentication system includes a 
    465465few other useful built-in views: 
    466466 
  • django/trunk/docs/db-api.txt

    r5566 r5571  
    18321832For example:: 
    18331833 
    1834     # Get the author of blog instance `e` with a name of 'Fred' 
     1834    # Get the author of blog instance e with a name of 'Fred' 
    18351835    a = get_object_or_404(e.authors, name='Fred') 
    18361836 
  • django/trunk/docs/django-admin.txt

    r5418 r5571  
    514514Verbosity determines the amount of notification and debug information that 
    515515will be printed to the console. '0' is no output, '1' is normal output, 
    516 and `2` is verbose output. 
     516and ``2`` is verbose output. 
    517517 
    518518--adminmedia 
  • django/trunk/docs/legacy_databases.txt

    r5040 r5571  
    1919`settings file`_: 
    2020 
    21     * `DATABASE_NAME` 
     21    * `DATABASE_NAME`_ 
    2222    * `DATABASE_ENGINE`_ 
    2323    * `DATABASE_USER`_ 
  • django/trunk/docs/release_notes_0.96.txt

    r4826 r5571  
    2929Due to a bug in older versions of the ``MySQLdb`` Python module (which 
    3030Django uses to connect to MySQL databases), Django's MySQL backend now 
    31 requires version 1.2.1p2 or higher of `MySQLdb`, and will raise 
     31requires version 1.2.1p2 or higher of ``MySQLdb``, and will raise 
    3232exceptions if you attempt to use an older version. 
    3333 
  • django/trunk/docs/serialization.txt

    r5415 r5571  
    4949 
    5050If you only want a subset of fields to be serialized, you can  
    51 specify a `fields` argument to the serializer:: 
     51specify a ``fields`` argument to the serializer:: 
    5252 
    5353    from django.core import serializers 
    5454    data = serializers.serialize('xml', SomeModel.objects.all(), fields=('name','size')) 
    5555 
    56 In this example, only the `name` and `size` attributes of each model will 
     56In this example, only the ``name`` and ``size`` attributes of each model will 
    5757be serialized.  
    5858 
  • django/trunk/docs/testing.txt

    r5414 r5571  
    254254 
    255255    will result in the evaluation of a POST request on ``/customers/wishes/``, 
    256     with a POST dictionary that contains `name`, `attachment` (containing the 
    257     file name), and `attachment_file` (containing the file data). Note that you 
     256    with a POST dictionary that contains ``name``, ``attachment`` (containing the 
     257    file name), and ``attachment_file`` (containing the file data). Note that you 
    258258    need to manually close the file after it has been provided to the POST. 
    259259 
     
    661661 
    662662    Verbosity determines the amount of notification and debug information that 
    663     will be printed to the console; `0` is no output, `1` is normal output, 
    664     and `2` is verbose output. 
     663    will be printed to the console; ``0`` is no output, ``1`` is normal output, 
     664    and ``2`` is verbose output. 
    665665 
    666666    This method should return the number of tests that failed. 
  • django/trunk/docs/tutorial01.txt

    r5496 r5571  
    361361      output is in PostgreSQL syntax. 
    362362 
    363     * The `sql` command doesn't actually run the SQL in your database - it just 
     363    * The ``sql`` command doesn't actually run the SQL in your database - it just 
    364364      prints it to the screen so that you can see what SQL Django thinks is required. 
    365365      If you wanted to, you could copy and paste this SQL into your database prompt.