Opened 5 years ago

Closed 5 years ago

#17172 closed Bug (needsinfo)

was_published_today.short_description is causing problems

Reported by: olnait@… Owned by: nobody
Component: Documentation Version: 1.3
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

Description (last modified by Alex Gaynor)

the 3rd line below causes the server to stop working.

def was_published_today(self):
    return self.pub_date.date() == datetime.date.today()
was_published_today.short_description = 'Published today?'

Change History (1)

comment:1 Changed 5 years ago by Alex Gaynor

Description: modified (diff)
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: needsinfo
Status: newclosed

Closing as needsinfo, there's not enough information here to reproduce this issue, please reopen if you can provide a traceback and precise steps to reproduce the issue.

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