diff options
| author | Thomas <616052+b0uh@users.noreply.github.com> | 2020-08-05 15:50:56 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-08-07 07:33:11 +0200 |
| commit | cdead4f013bc4d8f87fd714e91d5e1fcf419180f (patch) | |
| tree | 87edaf340e9928acc390c3d4047dbc5ebfb57f4c /docs/ref | |
| parent | 0a306f7da668e53af2516bfad759b52d6c650b69 (diff) | |
Fixed typo in docs/ref/contrib/postgres/fields.txt.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/postgres/fields.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt index b81a49d4ea..cd3908cf2e 100644 --- a/docs/ref/contrib/postgres/fields.txt +++ b/docs/ref/contrib/postgres/fields.txt @@ -668,9 +668,11 @@ The ``contained_by`` lookup is also available on the non-range field types: :class:`~django.db.models.DateTimeField`. For example:: >>> from psycopg2.extras import DateTimeTZRange - >>> Event.objects.filter(start__contained_by=DateTimeTZRange( - ... timezone.now() - datetime.timedelta(hours=1), - ... timezone.now() + datetime.timedelta(hours=1), + >>> Event.objects.filter( + ... start__contained_by=DateTimeTZRange( + ... timezone.now() - datetime.timedelta(hours=1), + ... timezone.now() + datetime.timedelta(hours=1), + ... ), ... ) <QuerySet [<Event: Soft play>]> |
