django get all objects of a model code example
Example 1: objects.filter django
>>> Entry.objects.filter(blog_id=4)
Example 2: create django object
Author.objects.create(name="Joe")
>>> Entry.objects.filter(blog_id=4)
Author.objects.create(name="Joe")