Skip to content

Instantly share code, notes, and snippets.

@sankalpjonn
Last active June 12, 2021 15:11
Show Gist options
  • Save sankalpjonn/2c292fe5e7ae33469f507fd11e25969a to your computer and use it in GitHub Desktop.
Save sankalpjonn/2c292fe5e7ae33469f507fd11e25969a 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