update database in django code example
Example 1: django delete object
SomeModel.objects.filter(id=id).delete()
Example 2: create django object
Author.objects.create(name="Joe")
Example 3: .save() in django
>>> one_entry = Entry.objects.get(pk=1)