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:
0752691
)
Remove some deprecated options.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 30 Oct 2008 06:53:22 +0000
(07:53 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 30 Oct 2008 06:53:22 +0000
(07:53 +0100)
These options are no longer supported since Django 1.0.
events/models.py
patch
|
blob
|
history
diff --git
a/events/models.py
b/events/models.py
index 82868b2ae685a302628bee1013a48843f52649f5..6f0112893c860b877496e81a9c2aed21411eebe6 100644
(file)
--- a/
events/models.py
+++ b/
events/models.py
@@
-14,6
+14,6
@@
class Event(models.Model):
return self.name
class Registration(models.Model):
- person = models.ForeignKey(User
, edit_inline=models.STACKED, num_in_admin=3
)
- event = models.ForeignKey(Event
, core=True
)
+ person = models.ForeignKey(User)
+ event = models.ForeignKey(Event)
# vim: set sts=4 sw=4 expandtab: