Added another state to the possible IETFWG states in the group proxy models file, to avoid exceptions.

- Legacy-Id: 6484
This commit is contained in:
Henrik Levkowetz 2013-10-23 05:51:04 +00:00
parent 2dcb9bc39d
commit 3863b0def3

View file

@ -131,7 +131,7 @@ class IETFWG(Group):
#status = models.ForeignKey(WGStatus)
@property
def status_id(self):
return { "active": 1, "dormant": 2, "conclude": 3, "bof-conc": 3, "proposed": 4, "bof": 4, "abandon": 4 }[self.state_id]
return { "active": 1, "dormant": 2, "conclude": 3, "bof-conc": 3, "proposed": 4, "bof": 4, "abandon": 4, "replaced": 4}[self.state_id]
#area_director = models.ForeignKey(AreaDirector, null=True)
#meeting_scheduled = models.CharField(blank=True, max_length=3)
@property