Opened 12 years ago

Closed 12 years ago

#1780 closed defect (duplicate)

date_hierarchy broken for fields with null=True

Reported by: mdt@… Owned by: Adrian Holovaty
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


djando rev#2855 gives error

   global name 'date_query' is not defined

in django/db/models/

   date_query._where.append('%s.%s IS NOT NULL' % 

replace date_query with self and everything's fine.

Change History (1)

comment:1 Changed 12 years ago by mdt

Resolution: duplicate
Status: newclosed

see #1776

Note: See TracTickets for help on using tickets.
Back to Top