quiz/models.py
changeset 16 ad51f38d0339
parent 15 99af908a4174
child 22 fe197c0c9903
equal deleted inserted replaced
15:99af908a4174 16:ad51f38d0339
    33     """
    33     """
    34 
    34 
    35     user = models.ForeignKey(User)
    35     user = models.ForeignKey(User)
    36     event = models.ForeignKey(Event)
    36     event = models.ForeignKey(Event)
    37     user_ip = models.CharField(max_length=15)
    37     user_ip = models.CharField(max_length=15)
       
    38     key = models.CharField(max_length=10)
    38     
    39     
    39     quiz_num = models.CharField(max_length=2)
    40     quiz_num = models.CharField(max_length=2)
    40     que_remaining = models.CharField(max_length=100)
    41     que_remaining = models.CharField(max_length=100)
    41     que_answered = models.ManyToManyField(Answer)
    42     que_answered = models.ManyToManyField(Answer)
    42 
    43