mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed a bunch of ReST errors that resulted in interpretation as block quotations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
17659adf93
commit
af244e47cc
11 changed files with 57 additions and 55 deletions
|
@ -230,7 +230,7 @@ subclass::
|
|||
|
||||
This results in an admin page that looks like:
|
||||
|
||||
.. image:: _images/flatfiles_admin.png
|
||||
.. image:: _images/flatfiles_admin.png
|
||||
|
||||
If neither ``fieldsets`` nor :attr:`~ModelAdmin.fields` options are present,
|
||||
Django will default to displaying each field that isn't an ``AutoField`` and
|
||||
|
@ -577,7 +577,7 @@ subclass::
|
|||
Set ``list_filter`` to activate filters in the right sidebar of the change
|
||||
list page of the admin, as illustrated in the following screenshot:
|
||||
|
||||
.. image:: _images/users_changelist.png
|
||||
.. image:: _images/users_changelist.png
|
||||
|
||||
``list_filter`` should be a list of elements, where each element should be
|
||||
of one of the following types:
|
||||
|
|
|
@ -40,7 +40,7 @@ available in the context, then you can refer to it directly::
|
|||
.. versionadded:: 1.2
|
||||
|
||||
Next, we can use the :ttag:`render_comment_list` tag, to render all comments
|
||||
to the given instance (``entry``) by using the ``comments/list.html`` template.
|
||||
to the given instance (``entry``) by using the ``comments/list.html`` template::
|
||||
|
||||
{% render_comment_list for entry %}
|
||||
|
||||
|
|
|
@ -824,7 +824,7 @@ Mexico (``mx``)
|
|||
|
||||
.. class:: mx.forms.MXCURPField
|
||||
|
||||
.. versionadded:: 1.4
|
||||
.. versionadded:: 1.4
|
||||
|
||||
A field that validates a Mexican *Clave Única de Registro de Población*.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue