Opened 9 years ago

Closed 9 years ago

#4876 closed (invalid)

typo error

Reported by: james_027@… Owned by: jacob
Component: Documentation Version: 0.96
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


def was_published_today(self):

return ==

instead of

return ==

Change History (1)

comment:1 Changed 9 years ago by John Shaffer <jshaffer2112@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

This example code is in tutorials 1 and 2.

There's no error here. You may have used "from datetime import datetime" rather than "import datetime". The Python shell examples use the first import, but the models file should use the second. They could be normalized to avoid this confusion, but that's a separate issue.

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