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

Alphabetized imports in various docs.

Follow-up of d97cce3409 and 7d3fe36c62.
This commit is contained in:
Mariusz Felisiak
2018-05-12 19:37:42 +02:00
committed by GitHub
parent 1b7d524cfa
commit 35319bf12c
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='|')