Opened 16 years ago

Last modified 13 years ago

#7343 closed

django.utils.functional.lazy fails for datetime.date.today — at Initial Version

Reported by: anonymous Owned by: nobody
Component: Core (Other) Version: dev
Severity: Normal Keywords: lazy functional
Cc: nowellpublic@…, simon@…, jwilk@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When attempting to create a lazily evaluated version of datetime.date.today--lazy(datetime.date.today, datetime.date)--the lazy function returns an error because datetime.date.today does not have a dict attribute. This used to work with the old version of lazy (my old version was from r4944).

Change History (0)

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