Opened 15 years ago
Closed 15 years ago
#12644 closed (fixed)
Can not override UserAdmin.add_form in subclasses
Reported by: | Karataev Pavel | Owned by: | Jannis Leidel |
---|---|---|---|
Component: | contrib.auth | Version: | dev |
Severity: | Keywords: | ||
Cc: | minmax777@… | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I want to do something like this:
class MyUseAdmin(UserAdmin): add_form = MyForm
But UserAdmin has a bug, it does not use attribute "add_form" in method "get_form"
Attachments (1)
Change History (5)
comment:1 by , 15 years ago
Triage Stage: | Unreviewed → Accepted |
---|
by , 15 years ago
comment:2 by , 15 years ago
Cc: | added |
---|
comment:3 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
(In [12265]) Fixed #12644 - Allow overriding the admin user creation form based on r12216. Thanks, minmax.