#22093 closed Cleanup/optimization (fixed)
Topic: Customizing Auth. Form-Meta once Tuple, once List
Reported by: | 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
Note:
See TracTickets
for help on using tickets.
In 821fc925f0e384966d0b06d03fc1dd0d14cd8ec0: