def job_delete_by_tag(tag):
 Job.objects.get(tag=tag).delete()
 return (job_get_by_tag(tag) is None)

def job_delete_by_tag ( tag ) : Job . objects . get ( tag = tag ) . delete ( ) return ( job_get_by_tag ( tag ) is None )
deletes a job entry based on its tag .