* Remove the Event model from the admin, we're not using it for now.
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 24 Mar 2008 16:50:56 +0000 (17:50 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Mon, 24 Mar 2008 16:50:56 +0000 (17:50 +0100)
events/models.py

index bb8f68b1bcfca8ffbcc871a4aa03428f6529af9c..55228d46e8bd1888617ae37ab96f1184a756987a 100644 (file)
@@ -13,11 +13,11 @@ class Event(models.Model):
         else:
             return self.name
 
-    class Admin:
-        fields = (
-            (None,            {'fields' : ('name', 'title')} ),
-            ('Registrations', {'fields' : ('slots',)} ),
-        )
+#    class Admin:
+#        fields = (
+#            (None,            {'fields' : ('name', 'title')} ),
+#            ('Registrations', {'fields' : ('slots',)} ),
+#        )
 
 class Registration(models.Model):
     person = models.ForeignKey(User, edit_inline=models.STACKED, num_in_admin=3)