Changeset bda4d86 for asadb/groups
- Timestamp:
- Nov 4, 2012, 2:45:54 AM (14 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 72a3d90
- Parents:
- ef00d33
- git-author:
- Alex Dehnert <adehnert@…> (11/04/12 01:13:13)
- git-committer:
- Alex Dehnert <adehnert@…> (11/04/12 02:45:54)
- File:
-
- 1 edited
-
asadb/groups/models.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/groups/models.py
r54babcd rbda4d86 105 105 def __str__(self, ): 106 106 return self.name 107 108 @staticmethod 109 def involved_groups(username): 110 current_officers = OfficeHolder.current_holders.filter(person=username) 111 users_groups = Group.objects.filter(officeholder__in=current_officers).distinct() 112 return users_groups 107 113 108 114 @classmethod
Note: See TracChangeset
for help on using the changeset viewer.