How to update User Profile and User in one request in Django Rest Framework?
Note: If you are looking for a Full Stack Developer (Django+React), then connect with me on LinkedIn or contact me through my portfolio.
Let’s say you have a Django User model and a UserProfile model connected via OneToOneField . Your goal is to seri...
blog.devjunction.in2 min read
Junaid Siddiqui
A programmer who loves to work on helpful projects using different technologies.
Great article. Thanks for the help.
It needs one update though - the update() method is indented at a wrong level.. its belongs to UserSerializer and not it's inner Meta class.