diff options
| author | Hasan Ramezani <hasan.r67@gmail.com> | 2018-05-07 16:16:29 +0430 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-05-07 07:46:29 -0400 |
| commit | 7d3fe36c626a3268413eb86d37920f132eb4a54f (patch) | |
| tree | 33a4edbb41e53afb76646d85e90fdeba18966ad7 | |
| parent | 079f3243577be01068543a43d1bfb42bcf84b8b3 (diff) | |
Alphabetized imports in docs/ref/contrib/postgres/fields.txt.
| -rw-r--r-- | docs/ref/contrib/postgres/fields.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt index 1837557665..0cac299f8d 100644 --- a/docs/ref/contrib/postgres/fields.txt +++ b/docs/ref/contrib/postgres/fields.txt @@ -53,8 +53,8 @@ may be a good choice for the :ref:`range fields <range-fields>` and It is possible to nest array fields - you can specify an instance of ``ArrayField`` as the ``base_field``. For example:: - from django.db import models from django.contrib.postgres.fields import ArrayField + from django.db import models class ChessBoard(models.Model): board = ArrayField( @@ -109,8 +109,8 @@ Querying ``ArrayField`` There are a number of custom lookups and transforms for :class:`ArrayField`. We will use the following example model:: - from django.db import models from django.contrib.postgres.fields import ArrayField + from django.db import models class Post(models.Model): name = models.CharField(max_length=200) |
