Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#7839 closed (fixed)

Error in admin documentation and tutorial 2 - 'classes' should be a list

Reported by: Jan Rademaker <j.rademaker@…> Owned by: nobody
Component: Documentation Version: dev
Severity: 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

The documentation claimes:

'classes'
A string containing extra CSS classes to apply to the fieldset.
Apply multiple classes by separating them with spaces.

This is false. 'classes' is expected to be a list or tuple. The example in admin.txt is correct, the code in tutorial 2 is wrong.

Attachments (1)

7839.diff (1.8 KB ) - added by Jan Rademaker <j.rademaker@…> 16 years ago.

Download all attachments as: .zip

Change History (3)

by Jan Rademaker <j.rademaker@…>, 16 years ago

Attachment: 7839.diff added

comment:1 by Jan Rademaker <j.rademaker@…>, 16 years ago

Resolution: duplicate
Status: newclosed

Oh me... Duplicate of #7838

comment:2 by Brian Rosner, 16 years ago

Resolution: duplicatefixed

(In [7983]) Fixed #7839 -- Corrected admin documentation and tutorial to reflect that 'classes' should be a list and not a string. Thanks Jan Rademaker for the patch.

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