Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1414 closed defect (fixed)

[magic-removal] [patch] LazyDate.strftime missing, admin add user does not work

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

Description

Adding a user in admin doesn't work, because a LazyDate is used in the model when admin needs to use the strftime() method. LazyDate doesn't provide this functionality.

Attachments (1)

lazydate-attributes.diff (789 bytes ) - added by Antti Kaihola 19 years ago.
serve missing LazyDate attributes from datetime computed at runtime

Download all attachments as: .zip

Change History (4)

by Antti Kaihola, 19 years ago

Attachment: lazydate-attributes.diff added

serve missing LazyDate attributes from datetime computed at runtime

comment:1 by akaihola <antti.kaihola@…>, 19 years ago

Summary: LazyDate.strftime missing, admin add user does not work[patch] LazyDate.strftime missing, admin add user does not work

comment:2 by akaihola <antti.kaihola@…>, 19 years ago

Summary: [patch] LazyDate.strftime missing, admin add user does not work[magic-removal] [patch] LazyDate.strftime missing, admin add user does not work

comment:3 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

(In [2439]) magic-removal: Fixed #1414 -- Added getattr() to LazyDate. Thanks, akaihola

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