Opened 3 years ago

Closed 3 years ago

#19852 closed Cleanup/optimization (fixed)

Typo in documentation for FieldSets classes

Reported by: chris.freeman.pdx@… Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords: fieldsets classes
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


Documentation syntax seems inconsistent for the fieldsets classes option:

In the FlatpageAdmin example, the syntax is shown as:

'classes': ('collapse',),

In the description of the fieldsets options:

'classes': ['wide', 'extrapretty'],

The difference being parentheses verses square brackets.

Change History (2)

comment:1 Changed 3 years ago by timo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Uncategorized to Cleanup/optimization

Either works, but I'll change the brackets to parentheses to be consistent.

comment:2 Changed 3 years ago by Tim Graham <timograham@…>

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

In 1add79bc4007fee658f193b65aea2af2347aab6b:

Fixed #19852 - Updated admin fieldset example for consistency.

Thanks chris.freeman.pdx@ for the suggestion.

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