Revision 943d5554

b/snf-astakos-app/astakos/im/models.py
1524 1524

  
1525 1525
    def violates_members_limit(self, adding=0):
1526 1526
        application = self.application
1527
        limit = application.limit_on_members_numbers
1527
        limit = application.limit_on_members_number
1528 1528
        if limit is None:
1529 1529
            return False
1530 1530
        return (len(self.approved_members) + adding > limit)

Also available in: Unified diff