Ticket #26124: 26124.diff

File 26124.diff, 1.7 KB (added by Tim Graham, 9 years ago)
  • docs/ref/contrib/postgres/fields.txt

    diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt
    index cb3ed99..6029e38 100644
    a b module.  
    77
    88.. currentmodule:: django.contrib.postgres.fields
    99
    10 ArrayField
    11 ==========
     10``ArrayField``
     11==============
    1212
    1313.. class:: ArrayField(base_field, size=None, **options)
    1414
    ArrayField  
    9191    If irregular shapes are required, then the underlying field should be made
    9292    nullable and the values padded with ``None``.
    9393
    94 Querying ArrayField
    95 -------------------
     94Querying ``ArrayField``
     95-----------------------
    9696
    9797There are a number of custom lookups and transforms for :class:`ArrayField`.
    9898We will use the following example model::
    We will use the following example model::  
    109109
    110110.. fieldlookup:: arrayfield.contains
    111111
    112 contains
    113 ~~~~~~~~
     112``contains``
     113~~~~~~~~~~~~
    114114
    115115The :lookup:`contains` lookup is overridden on :class:`ArrayField`. The
    116116returned objects will be those where the values passed are a subset of the
  • docs/ref/forms/widgets.txt

    diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt
    index f5ca010..9504d64 100644
    a b widget on the field. In the following example, the  
    6868See the :ref:`built-in widgets` for more information about which widgets
    6969are available and which arguments they accept.
    7070
    71 Widgets inheriting from the Select widget
    72 =========================================
     71Widgets inheriting from the ``Select`` widget
     72=============================================
    7373
    7474Widgets inheriting from the :class:`Select` widget deal with choices. They
    7575present the user with a list of options to choose from. The different widgets
Back to Top