class questions(models.Model):
task = models.CharField(max_length=100)
passed = models.BooleanField(default=False)
class user(models.Model):
name = models.CharField(max_length=100)
class check_questions(models.Model):
user = models.ForeignKey('auth.User')
questions = models.ForeignKey('questions')
passed = models.BooleanField(default=False)