Opened 7 years ago

Closed 7 years ago

#29042 closed Bug (invalid)

UserCreationForm fails to render extended UserModel in CreateView

Reported by: Tanjim Hossain Owned by: nobody
Component: Forms Version: 2.0
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

i'm not sure if it's a bug or not.
i can't understand why https://imgur.com/ikJ2YI8 this causes https://imgur.com/fu9L0vW this result but https://imgur.com/bLqKnrT causes https://imgur.com/QSmBKdm this result..

why just overwriting the Meta class with the exact same code used in django.contrib.auth.forms UserCreationForm https://imgur.com/c4cmz8A gives me diffrent result?

i'm using UserCreationForm in UserAdmin. and it's working fine. here's the view i'm using
RegisterView(CreateView) https://imgur.com/ajmJPBW

Attachments (1)

Screenshot_20180121_151703.png (39.5 KB ) - added by Tanjim Hossain 7 years ago.

Download all attachments as: .zip

Change History (2)

by Tanjim Hossain, 7 years ago

comment:1 by Tim Graham, 7 years ago

Resolution: invalid
Status: newclosed

Please see TicketClosingReasons/UseSupportChannels for ways to get help with "is it a bug?" questions. By the way, posting links to imgur makes it quite inconvenient to evaluate the report. When you seek help, please include the code in the message or attach a sample project.

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