Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#1414 closed defect (fixed)

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

Reported by: akaihola Owned by: adrian
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 akaihola 10 years ago.
serve missing LazyDate attributes from datetime computed at runtime

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by akaihola

serve missing LazyDate attributes from datetime computed at runtime

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

  • Summary changed from LazyDate.strftime missing, admin add user does not work to [patch] LazyDate.strftime missing, admin add user does not work

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

  • Summary changed from [patch] LazyDate.strftime missing, admin add user does not work to [magic-removal] [patch] LazyDate.strftime missing, admin add user does not work

comment:3 Changed 10 years ago by adrian

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

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

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