Skip to content

Instantly share code, notes, and snippets.

@sankalpjonn
Last active June 12, 2021 15:18
Show Gist options
  • Save sankalpjonn/fd3db08cb8cb65a24a5d06c74aeaea1a to your computer and use it in GitHub Desktop.
Save sankalpjonn/fd3db08cb8cb65a24a5d06c74aeaea1a to your computer and use it in GitHub Desktop.
>>> record = Record.objects.get(id=1)
>>> record.name = "new record name"
>>> record.save()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment