Opened 11 years ago

Closed 11 years ago

Last modified 10 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: UI/UX:

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 11 years ago.
serve missing LazyDate attributes from datetime computed at runtime

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Antti Kaihola

Attachment: lazydate-attributes.diff added

serve missing LazyDate attributes from datetime computed at runtime

comment:1 Changed 11 years ago by akaihola <antti.kaihola@…>

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

comment:2 Changed 11 years ago by akaihola <antti.kaihola@…>

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 Changed 11 years ago by Adrian Holovaty

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