get in 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: objects.filter django
>>> Entry.objects.filter(blog_id=4)