projects
/
matthijs
/
projects
/
xerxes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3953592
)
* Remove the Event model from the admin, we're not using it for now.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 24 Mar 2008 16:50:56 +0000
(17:50 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 24 Mar 2008 16:50:56 +0000
(17:50 +0100)
events/models.py
patch
|
blob
|
history
diff --git
a/events/models.py
b/events/models.py
index bb8f68b1bcfca8ffbcc871a4aa03428f6529af9c..55228d46e8bd1888617ae37ab96f1184a756987a 100644
(file)
--- 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)