Teste se a instância no queryset django
if e in Entry.objects.all():
...
# === OR ===
if Entry.objects.filter(id=e.id).exists():
...
Thankful Teira
if e in Entry.objects.all():
...
# === OR ===
if Entry.objects.filter(id=e.id).exists():
...