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:
8fb8f37
)
* Make Influence.character no longer optional.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 23 Jan 2008 20:11:07 +0000
(21:11 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 23 Jan 2008 20:11:07 +0000
(21:11 +0100)
influences/models.py
patch
|
blob
|
history
diff --git
a/influences/models.py
b/influences/models.py
index 5f118214cba7857e187eba35e6b591f0426f8a8f..ed28de0c0b86ecb09dc4bf55c63e6765001e6b18 100644
(file)
--- a/
influences/models.py
+++ b/
influences/models.py
@@
-23,7
+23,7
@@
class Influence(models.Model):
created = models.DateField(auto_now_add=1)
modified = models.DateField(auto_now=1)
- character = models.ForeignKey(Character,
null=True, blank=True,
edit_inline=models.TABULAR, num_in_admin=3, core=True)
+ character = models.ForeignKey(Character, edit_inline=models.TABULAR, num_in_admin=3, core=True)
contact = models.CharField(max_length=255)
description = models.TextField()
status = models.TextField(max_length=1, choices=STATUS_CHOICES, default='N')