#17172: was_published_today.short_description is causing problems
-------------------------------+--------------------------------------
Reporter: olnait@… | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.3
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Alex):
* status: new => closed
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
* resolution: => needsinfo
Old description:
> 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?'
New description:
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?'
}}}
--
Comment:
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/17172#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.