Commit 88b413ef authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

Consider unlimited project members

parent 94478a4e
......@@ -1505,8 +1505,10 @@ class Project(models.Model):
def violates_members_limit(self, adding=0):
application = self.application
return (len(self.approved_members) + adding >
limit = application.limit_on_members_numbers
if limit is None:
return False
return (len(self.approved_members) + adding > limit)
### Other
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment