Opened 3 years ago

Closed 3 years ago

#21669 closed Uncategorized (fixed)

docs issue about MultiValueWidget

Reported by: alex_koval Owned by: nobody
Component: Documentation Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


On this page:

it took me quite some time to realize that 'self' argument is included by mistake and should be removed from
init arguments for code to be correct:

super(PhoneField, self).__init__(
            self, error_messages=error_messages, fields=fields,
            require_all_fields=False, *args, **kwargs)

Should be:

super(PhoneField, self).__init__(
            error_messages=error_messages, fields=fields,
            require_all_fields=False, *args, **kwargs)

Change History (2)

comment:1 Changed 3 years ago by bmispelon

  • Easy pickings set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Version changed from 1.6 to master

Indeed, this should be removed.

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

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

In 5d826586578d09d183b8bd0b64571b7cfebe888b:

Fixed #21669 -- Typo in docs/ref/forms/fields.txt.

Thanks alex_koval for the report.

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