Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#22093 closed Cleanup/optimization (fixed)

Topic: Customizing Auth. Form-Meta once Tuple, once List

Reported by: david-schultz@… Owned by: nobody
Component: Documentation Version: 1.6
Severity: Normal 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

https://docs.djangoproject.com/en/1.6/topics/auth/customizing/

I am referring to the very last (big) green box at the bottom of this page. There the admin is customized by specifying a UserCreationForm and a UserChangeForm.
Within each of these classes, the class Meta is defined. Its property 'fields', however, is set a tuple in the CreationForm, but a list in the ChangeForm.

I guess only one of them is considered the way it should be.

Best regards
David

Change History (2)

comment:1 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 821fc925f0e384966d0b06d03fc1dd0d14cd8ec0:

Fixed #22093 -- Made Form.Meta.fields examples consistent.

Thanks david-schultz at gmx.net for the suggestion.

comment:2 by Tim Graham <timograham@…>, 10 years ago

In e56ce87bd8cb85a14d34e7bdfac4b55fac95faea:

[1.6.x] Fixed #22093 -- Made Form.Meta.fields examples consistent.

Thanks david-schultz at gmx.net for the suggestion.

Backport of 821fc925f0 from master

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