django update field after save

37

# django update field after save
record = Record.objects.get(id=1)
record.name = "new record name"
record.save(update_fields=['name'])

Comments

Submit
0 Comments