equal
deleted
inserted
replaced
2 from django.contrib.auth.models import User |
2 from django.contrib.auth.models import User |
3 |
3 |
4 from offline.event.models import Event |
4 from offline.event.models import Event |
5 |
5 |
6 class Profile(models.Model): |
6 class Profile(models.Model): |
|
7 """ A profile for quiz takers. |
|
8 """ |
7 |
9 |
8 user = models.ForeignKey(User) |
10 user = models.ForeignKey(User) |
9 profession = models.CharField(max_length=20,help_text="(Ex: Faculty, Student etc.)") |
11 profession = models.CharField(max_length=20,help_text="(Ex: Faculty, Student etc.)") |
10 affiliated_to = models.CharField(max_length=100, verbose_name="College/Company") |
12 affiliated_to = models.CharField(max_length=100, verbose_name="College/Company") |
11 |
13 |