From: Matthijs Kooijman Date: Mon, 24 Mar 2008 16:50:56 +0000 (+0100) Subject: * Remove the Event model from the admin, we're not using it for now. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=46ebe44d601ed7b54b4c274c406d0b554ebe8eda;p=matthijs%2Fprojects%2Fxerxes.git * Remove the Event model from the admin, we're not using it for now. --- 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)