This commit is contained in:
Ross
2022-02-13 17:32:20 +00:00
parent 4cf9a28103
commit c5999916ee
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -461,3 +461,9 @@ class CidUserGroup(models.Model):
def __str__(self) -> str:
return str(self.name)
def GetGroupUsers(self):
cid_users = self.ciduser_set.all()
s = ", ".join([f"{user.id} - {user.name}" for user in cid_users])
return s