From cdead4f013bc4d8f87fd714e91d5e1fcf419180f Mon Sep 17 00:00:00 2001 From: Thomas <616052+b0uh@users.noreply.github.com> Date: Wed, 5 Aug 2020 15:50:56 +0200 Subject: [PATCH] Fixed typo in docs/ref/contrib/postgres/fields.txt. --- docs/ref/contrib/postgres/fields.txt | 8 +++++--- 1 file 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), + ... ), ... ) ]>