#26903: support date and timestamp containment within postgres range field
----------------------------------+------------------------
Reporter: ar45 | Owner:
Type: Bug | Status: new
Component: contrib.postgres | Version: 1.9
Severity: Normal | Keywords: rangefield
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
----------------------------------+------------------------
currently trying to do a lookup
{{{#!python
MyModel.objects.filter(datetime_range__contains=timezone.now())
}}}
results in incorrect SQL.
Pull request at https://github.com/django/django/pull/6885
--
Ticket URL: <https://code.djangoproject.com/ticket/26903>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/047.9a5a8447a8a624ebdc4efe6ec5ffab86%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.