Opened 9 years ago

Closed 9 years ago

#1780 closed defect (duplicate)

date_hierarchy broken for fields with null=True

Reported by: mdt@… Owned by: adrian
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 9 years ago by mdt

  • Resolution set to duplicate
  • Status changed from new to closed

see #1776

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