Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chris
repanier
Commits
4c763d06
Commit
4c763d06
authored
Apr 02, 2017
by
Patrick
Browse files
Max TWO_LEVEL_DEPTH for Permanence Role to let regroup roles
parent
405078dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
repanier/admin/lut.py
View file @
4c763d06
...
...
@@ -203,7 +203,7 @@ class PermanenceBoardInline(ForeignKeyCacheMixin, TabularInline):
class
LUTPermanenceRoleAdmin
(
LUTAdmin
):
mptt_level_limit
=
ONE
_LEVEL_DEPTH
mptt_level_limit
=
TWO
_LEVEL_DEPTH
inlines
=
[
PermanenceBoardInline
]
def
get_fields
(
self
,
request
,
obj
=
None
):
...
...
Write
Preview
Supports
Markdown
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