Django way of customizing the user creation is by adding UserProfile model, however when I am performing user registration, I would like the user to fill all the details, including the ones in the user profile as well.
Using forms.ModelForm seems like the easiest way, however I am dealing here with two models. What is the easiest way to accomplish that?
Thanks
UserCreationForm
可能会派上用场。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.