Opened 11 years ago

Closed 11 years ago

#592 closed defect (invalid)

Error in tutorial 2

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

Description (last modified by adrian)

There's a comma too many in the example-code for adjusting the order. The last comma should go.

admin = meta.Admin(
    fields = (
        (None, {'fields': ('pub_date', 'question')}),

Attachments (1)

patch.592 (1.1 KB) - added by pterk 11 years ago.
Removes the comma's

Download all attachments as: .zip

Change History (2)

comment:1 Changed 11 years ago by adrian

  • Description modified (diff)
  • Resolution set to invalid
  • Status changed from new to closed

Looks OK to me -- Python allows a trailing comma like that.

Changed 11 years ago by pterk

Removes the comma's

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