Suppose I have two models.
class Applicant(models.Model):
firstName = models.CharField(max_length=50)
applicationStatus = models.CharField(max_length=15, default="Pending")
and
class VolInterview(models.Model):
applicant = models.OneToOneField('Applicant')
reasonForRejection = models.CharField(max_length=1000, default="N/A")
Now I want to find only those applicants that has not been referred by any VolInterivew instance. How do I go about that?