Skip to content

Commit 6c91e93

Browse files
committed
Allow State.next_states to be blank so the admin doesn't barf
- Legacy-Id: 5023
1 parent 9b73aa3 commit 6c91e93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class State(models.Model):
2727
desc = models.TextField(blank=True)
2828
order = models.IntegerField(default=0)
2929

30-
next_states = models.ManyToManyField('State', related_name="previous_states")
30+
next_states = models.ManyToManyField('State', related_name="previous_states", blank=True)
3131

3232
def __unicode__(self):
3333
return self.name

0 commit comments

Comments
 (0)