project/scipycon/registration/models.py
branchsouth-migration
changeset 272 4801b7adbbc5
parent 226 53ea13a2893e
child 275 679a9cab4bf1
equal deleted inserted replaced
271:412b8db4a036 272:4801b7adbbc5
    28 SEX_CHOICES = (
    28 SEX_CHOICES = (
    29     ('Male', 'Male'),
    29     ('Male', 'Male'),
    30     ('Female', 'Female'),
    30     ('Female', 'Female'),
    31     )
    31     )
    32 
    32 
       
    33 
    33 class Wifi(base_models.ScopedBase):
    34 class Wifi(base_models.ScopedBase):
    34     """Defines wifi options at SciPy.in
    35     """Defines wifi options at SciPy.in
    35     """
    36     """
    36 
    37 
    37     user = models.ForeignKey(User)
    38     user = models.ForeignKey(User)
    38 
    39 
    39     wifi = models.CharField(max_length=50, choices=WIFI_CHOICES,
    40     wifi = models.CharField(max_length=50, choices=WIFI_CHOICES,
    40                             help_text=WIFI_HELP, verbose_name="Laptop")
    41                             help_text=WIFI_HELP, verbose_name="Laptop")
       
    42 
       
    43     registration_id = models.CharField(
       
    44         max_length=255, verbose_name="Identification Number",
       
    45         help_text="- Provide the serial or identification number at the "
       
    46         "back of your laptop using which your laptop can be uniquely "
       
    47         "identified. Ex: 8BDB8FB (Service Tag on Dell Laptops).<br /> - "
       
    48         "This is for security reasons and will be used while you enter and "
       
    49         "leave the venue.<br /> - Please don't provide the model number "
       
    50         "like Dell Inspiron 1545. There may be many laptops of that model "
       
    51         "and hence your laptop cannot be uniquely identified.",
       
    52         blank=True, null=True)
    41 
    53 
    42 
    54 
    43 class Accommodation(base_models.ScopedBase):
    55 class Accommodation(base_models.ScopedBase):
    44     """Defines accommodation information for SciPy.in
    56     """Defines accommodation information for SciPy.in
    45     """
    57     """