[2.0.x] Alphabetized imports in various docs.

Follow-up of d97cce3409 and 7d3fe36c62.
Backport of 35319bf12c from master
This commit is contained in:
Mariusz Felisiak 2018-05-12 19:37:42 +02:00
parent 840c0ed13d
commit 80a53202d4
No known key found for this signature in database
GPG key ID: 2EF56372BA48CD1B
36 changed files with 71 additions and 71 deletions

View file

@ -26,8 +26,8 @@ Fields
to render any HTML, but it is used to process the submitted data and
validate it. For example::
>>> from django.contrib.postgres.forms import SimpleArrayField
>>> from django import forms
>>> from django.contrib.postgres.forms import SimpleArrayField
>>> class NumberListForm(forms.Form):
... numbers = SimpleArrayField(forms.IntegerField())
@ -48,8 +48,8 @@ Fields
value is used to split the submitted data. It allows you to chain
``SimpleArrayField`` for multidimensional data::
>>> from django.contrib.postgres.forms import SimpleArrayField
>>> from django import forms
>>> from django.contrib.postgres.forms import SimpleArrayField
>>> class GridForm(forms.Form):
... places = SimpleArrayField(SimpleArrayField(IntegerField()), delimiter='|')