We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44566f8 commit 2a9b60cCopy full SHA for 2a9b60c
1 file changed
ietf/meeting/models.py
@@ -1198,7 +1198,11 @@ def docname_token_only_for_multiple(self):
1198
sess_mtg = Session.objects.filter(meeting=self.meeting, group=self.group).order_by('pk')
1199
if len(list(sess_mtg)) > 1:
1200
index = list(sess_mtg).index(self)
1201
- return 'sess%s' % (string.ascii_lowercase[index])
+ if index < 26:
1202
+ token = 'sess%s' % (string.ascii_lowercase[index])
1203
+ else:
1204
+ token = 'sess%s%s' % (string.ascii_lowercase[index//26],string.ascii_lowercase[index%26])
1205
+ return token
1206
return None
1207
1208
def constraints(self):
0 commit comments