Opened 12 years ago
Closed 12 years ago
#21669 closed Uncategorized (fixed)
docs issue about MultiValueWidget
| Reported by: | Alex Koval | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| 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 |
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 , 12 years ago
| Easy pickings: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
| Version: | 1.6 → master |
comment:2 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Indeed, this should be removed.