objects.filter django python example code Example: objects.filter django >>> Entry.objects.filter(blog_id=4)