1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #26020 -- Normalized header stylings in docs.

This commit is contained in:
Elif T. Kus
2016-01-03 12:56:22 +02:00
committed by Tim Graham
parent 79d0a4fdb0
commit bca9faae95
132 changed files with 1498 additions and 1464 deletions

View File

@@ -18,7 +18,7 @@ In addition to the regular :ref:`form field arguments <core-field-arguments>`,
GeoDjango form fields take the following optional arguments.
``srid``
~~~~~~~~
--------
.. attribute:: Field.srid
@@ -28,7 +28,7 @@ GeoDjango form fields take the following optional arguments.
input values into that SRID.
``geom_type``
~~~~~~~~~~~~~
-------------
.. attribute:: Field.geom_type
@@ -40,42 +40,42 @@ Form field classes
==================
``GeometryField``
~~~~~~~~~~~~~~~~~
-----------------
.. class:: GeometryField
``PointField``
~~~~~~~~~~~~~~
--------------
.. class:: PointField
``LineStringField``
~~~~~~~~~~~~~~~~~~~
-------------------
.. class:: LineStringField
``PolygonField``
~~~~~~~~~~~~~~~~
----------------
.. class:: PolygonField
``MultiPointField``
~~~~~~~~~~~~~~~~~~~
-------------------
.. class:: MultiPointField
``MultiLineStringField``
~~~~~~~~~~~~~~~~~~~~~~~~
------------------------
.. class:: MultiLineStringField
``MultiPolygonField``
~~~~~~~~~~~~~~~~~~~~~
---------------------
.. class:: MultiPolygonField
``GeometryCollectionField``
~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------
.. class:: GeometryCollectionField
@@ -91,7 +91,7 @@ Note that none of the currently available widgets supports 3D geometries, hence
geometry fields will fallback using a simple ``Textarea`` widget for such data.
Widget attributes
~~~~~~~~~~~~~~~~~
-----------------
GeoDjango widgets are template-based, so their attributes are mostly different
from other Django widget attributes.
@@ -134,7 +134,7 @@ widget. For example::
forms.OSMWidget(attrs={'map_width': 800, 'map_height': 500}))
Widget classes
~~~~~~~~~~~~~~
--------------
``BaseGeometryWidget``