Opened 7 years ago

Closed 7 years ago

#10925 closed (fixed)

Django tutorial part 2: was_published_today example

Reported by: rm Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords: tutorial
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The following code adding the short_description resides in, which could be mentioned in the text above. Earlier code snippets were from, which led me to try editing the wrong module. Please clarify the text on the code location, otherwise the tutorial is just great!



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

Attachments (1)

10925.diff (641 bytes) - added by timo 7 years ago.
note that the method is in

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by timo

note that the method is in

comment:1 Changed 7 years ago by timo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 7 years ago by kmtracey

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

(In [10808]) Fixed #10925 -- Clarified the location of some code referenced in the tutorial. Thanks rm and timo.

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