We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b19353 commit 552c0c9Copy full SHA for 552c0c9
1 file changed
ietf/group/models.py
@@ -250,6 +250,10 @@ class GroupHistory(GroupInfo):
250
group = ForeignKey(Group, related_name='history_set')
251
acronym = models.CharField(max_length=40)
252
253
+ def ad_role(self):
254
+ # Note - this shows current ADs, not historic ADs
255
+ return self.group.role_set.filter(name='ad').first()
256
+
257
class Meta:
258
verbose_name_plural="group histories"
259
0 commit comments