mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Alphabetized imports in various docs.
Follow-up ofd97cce3409
and7d3fe36c62
.
This commit is contained in:
parent
1b7d524cfa
commit
35319bf12c
36 changed files with 71 additions and 71 deletions
|
@ -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='|')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue