summaryrefslogtreecommitdiff
path: root/django/utils/timezone.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-02-11 10:28:46 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-02-11 10:38:39 +0100
commit7db770b013f26b81bef878541c1016a3eb291011 (patch)
treee7fab2ecbd182e4795d51209967b5c533091464b /django/utils/timezone.py
parenta10f3908042a71ec5ef81bf76f0f278ca5e7a596 (diff)
Added a check in the creation of IS NULL clauses.
value_annotation isn't very well defined. Before this change, setting it to datetime.datetime could silently reverse the behavior of isnull lookups. This commit doesn't have any consequences on the current code. It's just a safeguard for future ORM hackers.
Diffstat (limited to 'django/utils/timezone.py')
0 files changed, 0 insertions, 0 deletions