From 46ebe44d601ed7b54b4c274c406d0b554ebe8eda Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 24 Mar 2008 17:50:56 +0100 Subject: [PATCH] * Remove the Event model from the admin, we're not using it for now. --- events/models.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/events/models.py b/events/models.py index bb8f68b..55228d4 100644 --- a/events/models.py +++ b/events/models.py @@ -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) -- 2.30.2