How to create a UserProfile form in Django with first_name, last_name modifications?

前端 未结 7 1270
挽巷
挽巷 2020-11-29 19:55

If think my question is pretty obvious and almost every developer working with UserProfile should be able to answer it.

However, I could not find any he

相关标签:
7条回答
  • 2020-11-29 20:46

    Why not have two model forms on the back-end and just present them as a single form in your template? Drop the name fields from your UserProfileForm and create a second model form for the user object?

    0 讨论(0)
提交回复
热议问题