how tp update in djnago using filter code example
Example 1: django objects.create()
SomeModel.objects.create(firstname='ricky', lastname='ticky')
Example 2: django delete object
SomeModel.objects.filter(id=id).delete()
SomeModel.objects.create(firstname='ricky', lastname='ticky')
SomeModel.objects.filter(id=id).delete()