X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=events%2Fmodels.py;h=82868b2ae685a302628bee1013a48843f52649f5;hb=3df3541f6d83efb2d669d522d1c5c341b2a927ab;hp=bb8f68b1bcfca8ffbcc871a4aa03428f6529af9c;hpb=f1833394374f434a61ab1ab9a551f2bded207182;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/events/models.py b/events/models.py index bb8f68b..82868b2 100644 --- a/events/models.py +++ b/events/models.py @@ -13,12 +13,6 @@ class Event(models.Model): else: return self.name - 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) event = models.ForeignKey(Event, core=True)