equal
deleted
inserted
replaced
16 ('L', 'L'), |
16 ('L', 'L'), |
17 ('XL', 'XL'), |
17 ('XL', 'XL'), |
18 ) |
18 ) |
19 |
19 |
20 |
20 |
21 class Wifi(base_models.Base): |
21 class Wifi(base_models.ScopedBase): |
22 """Defines wifi options at *PyCon""" |
22 """Defines wifi options at SciPy.in |
|
23 """ |
23 user = models.ForeignKey(User) |
24 user = models.ForeignKey(User) |
|
25 |
24 wifi = models.CharField(max_length=50, choices=WIFI_CHOICES, |
26 wifi = models.CharField(max_length=50, choices=WIFI_CHOICES, |
25 help_text=WIFI_HELP, verbose_name="Laptop") |
27 help_text=WIFI_HELP, verbose_name="Laptop") |
26 |
28 |
27 |
29 |
28 class Registration(base_models.Model): |
30 class Registration(base_models.ScopedBase): |
29 """Defines registration at SciPy.in""" |
31 """Defines registration at SciPy.in""" |
30 |
32 |
31 slug = models.SlugField() |
33 slug = models.SlugField() |
32 |
34 |
33 registrant = models.ForeignKey(User) |
35 registrant = models.ForeignKey(User) |
37 occupation = models.CharField(max_length=255, blank=True) |
39 occupation = models.CharField(max_length=255, blank=True) |
38 |
40 |
39 city = models.CharField(max_length=255, blank=True) |
41 city = models.CharField(max_length=255, blank=True) |
40 |
42 |
41 postcode = models.CharField(max_length=255, blank=True) |
43 postcode = models.CharField(max_length=255, blank=True) |
42 |
44 |
43 phone_num = models.CharField(max_length=14, blank=True) |
45 phone_num = models.CharField(max_length=14, blank=True) |
44 |
46 |
45 tshirt = models.CharField(max_length=2, choices=SIZE_CHOICES) |
47 tshirt = models.CharField(max_length=2, choices=SIZE_CHOICES) |
46 |
48 |
47 conference = models.BooleanField(default=False) |
49 conference = models.BooleanField(default=False) |