#24837: Unable to query DateField using DateRange
----------------------------------+--------------------------------------
     Reporter:  schinckel         |                    Owner:
         Type:  Uncategorized     |                   Status:  new
    Component:  contrib.postgres  |                  Version:  1.8
     Severity:  Normal            |               Resolution:
     Keywords:                    |             Triage Stage:  Unreviewed
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  1                 |                    UI/UX:  0
----------------------------------+--------------------------------------

Comment (by schinckel):

 In the past, I have written a Range field, and a lookup to use Range
 types, however I was not using {{{Lookup.process_rhs(qn, connection)}}}:
 instead I was first looking to see if the {{{rhs}}} argument was a range
 type, and if it was, then just letting that go through.

 Part of that test was inspecting a string argument and seeing if it
 matched a regex, which is probably not as hygienic as actually processing
 the argument correctly.

--
Ticket URL: <https://code.djangoproject.com/ticket/24837#comment:2>
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/067.711ad909104e7bb41e33472abaad3635%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to