Opened 11 years ago
Closed 11 years ago
#21669 closed Uncategorized (fixed)
docs issue about MultiValueWidget
Description ¶
On this page:
https://docs.djangoproject.com/en/dev/ref/forms/fields/#multivaluefield
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 by , 11 years ago
Easy pickings: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
Version: | 1.6 → master |
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Indeed, this should be removed.