Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
88b413ef
Commit
88b413ef
authored
Jan 11, 2013
by
Sofia Papagiannaki
Browse files
Consider unlimited project members
parent
94478a4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/models.py
View file @
88b413ef
...
...
@@ -1505,8 +1505,10 @@ class Project(models.Model):
def
violates_members_limit
(
self
,
adding
=
0
):
application
=
self
.
application
return
(
len
(
self
.
approved_members
)
+
adding
>
application
.
limit_on_members_number
)
limit
=
application
.
limit_on_members_numbers
if
limit
is
None
:
return
False
return
(
len
(
self
.
approved_members
)
+
adding
>
limit
)
### Other
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment