In django how to check whether any entry exists for a query
sc=scorm.objects.filter(Header__id=qp.id)
This was how it was done in php
this worked for me!
if some_queryset.objects.all().exists(): print("this table is not empty")