Created
August 31, 2020 16:38
-
-
Save huxaiphaer/573f515dab09275ceaaf56d1f9f44911 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Regarding on how to update the User there are two options and below are the following :- | |
a). Non - customized User. | |
``` | |
user = User.objects.get(pk=x) | |
user.firstname = ‘xxx’ | |
user.save() | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment