comparing list name data to session_username and fetching the data of table in django code example Example: objects.filter django >>> Entry.objects.filter(blog_id=4)