diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-02-11 10:28:46 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-02-11 10:38:39 +0100 |
| commit | 7db770b013f26b81bef878541c1016a3eb291011 (patch) | |
| tree | e7fab2ecbd182e4795d51209967b5c533091464b /django/utils/timezone.py | |
| parent | a10f3908042a71ec5ef81bf76f0f278ca5e7a596 (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
