django query to get from database now command code example Example: objects.filter django >>> Entry.objects.filter(blog_id=4)