Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1301 closed defect (fixed)

[magic-removal] AttributeError in DateQuerySet

Reported by: Esaj Owned by: Adrian Holovaty
Component: Metasystem Version: magic-removal
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


AttributeError: 'DateQuerySet' object has no attribute '_field'

django/db/models/ in iterator, line 419

Looks like the problem is in django/db/models/, because _field isn't copied during the call to _clone().

Attachments (1) (669 bytes) - added by Esaj 13 years ago.
Fixes the bug

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by Esaj

Attachment: added

Fixes the bug

comment:1 Changed 13 years ago by Esaj

The attached patch fixes this bug.

comment:2 Changed 13 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [2223]) magic-removal: Fixed #1301 -- Fixed AttributeError when QuerySet.dates() is filtered. Thanks, Esaj

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