There was an error while loading. Please reload this page.
1 parent 5661f55 commit ce26647Copy full SHA for ce26647
1 file changed
ietf/idtracker/models.py
@@ -545,9 +545,9 @@ def ballot_others(self):
545
return IDInternal.objects.filter(models.Q(primary_flag=0)|models.Q(primary_flag__isnull=True), ballot=self.ballot_id)
546
def docstate(self):
547
if self.cur_sub_state_id > 0:
548
- return "%s :: %s" % ( self.cur_state, self.cur_sub_state )
+ return "%s::%s" % ( self.cur_state.state, self.cur_sub_state.sub_state )
549
else:
550
- return self.cur_state
+ return self.cur_state.state
551
class Meta:
552
db_table = 'id_internal'
553
verbose_name = 'IDTracker Draft'
0 commit comments