Changes between Initial Version and Version 12 of Ticket #7155


Ignore:
Timestamp:
Jun 16, 2008, 11:24:34 AM (16 years ago)
Author:
Ramiro Morales
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7155

    • Property Triage Stage UnreviewedReady for checkin
    • Property Cc eric@… jdunck@… added
    • Property Keywords qsrf-cleanup added
  • Ticket #7155 – Description

    initial v12  
    11After queryset refactor merge, a .dates() DateQueryset won't work on a null=True DateField.
    22
    3 During query setup, the queryset adds a .filter(fieldname__isnull=True) instead of .filter(fieldname__isnull=False) to avoid parsing null dates, so the resulting sql returns an empty list (or raise errors if there actually are null fields in the db).
     3During query setup, the queryset adds a {{{.filter(fieldname__isnull=True)}}} instead of {{{.filter(fieldname__isnull=False)}}} to avoid parsing null dates, so the resulting sql returns an empty list (or raise errors if there actually are null fields in the db).
    44
    55I've attached a patch that fixes the problem
Back to Top