Changeset - 52fa696a01b2
[Not reviewed]
0 1 0
Christopher Neugebauer - 8 years ago 2016-09-15 05:33:52
chrisjrn@gmail.com
Fixes GroupMemberCondition test
1 file changed with 1 insertions and 3 deletions:
0 comments (0 inline, 0 general)
registrasion/controllers/conditions.py
Show inline comments
...
 
@@ -334,6 +334,4 @@ class GroupMemberConditionController(IsMetByFilter, ConditionController):
 
        ''' Returns all of the items from conditions which are enabled by a
 
        user being member of a Django Auth Group. '''
 

	
 
        return conditions.filter(
 
            group=user.groups.all(),
 
        )
 
        return conditions.filter(group__in=user.groups.all())
0 comments (0 inline, 0 general)