create new object django 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()
Example 3: create django object
Author.objects.create(name="Joe")
Example 4: .save() in django
>>> one_entry = Entry.objects.get(pk=1)