project/scipycon/registration/models.py
changeset 104 1a83a26756c3
parent 101 61fc4aa7a09a
child 117 1b68c8aa6091
--- a/project/scipycon/registration/models.py	Thu Jul 15 00:50:16 2010 +0530
+++ b/project/scipycon/registration/models.py	Thu Jul 15 00:50:38 2010 +0530
@@ -18,14 +18,16 @@
     )
 
 
-class Wifi(base_models.Base):
-    """Defines wifi options at *PyCon"""
+class Wifi(base_models.ScopedBase):
+    """Defines wifi options at SciPy.in
+    """
     user = models.ForeignKey(User)
+
     wifi = models.CharField(max_length=50, choices=WIFI_CHOICES,
-            help_text=WIFI_HELP, verbose_name="Laptop")
+                            help_text=WIFI_HELP, verbose_name="Laptop")
 
 
-class Registration(base_models.Model):
+class Registration(base_models.ScopedBase):
     """Defines registration at SciPy.in"""
 
     slug = models.SlugField()
@@ -39,7 +41,7 @@
     city = models.CharField(max_length=255, blank=True)
 
     postcode = models.CharField(max_length=255, blank=True)
-    
+
     phone_num = models.CharField(max_length=14, blank=True)
 
     tshirt = models.CharField(max_length=2, choices=SIZE_CHOICES)