Commit 4c763d06 authored by Patrick's avatar Patrick

Max TWO_LEVEL_DEPTH for Permanence Role to let regroup roles

parent 405078dd
...@@ -203,7 +203,7 @@ class PermanenceBoardInline(ForeignKeyCacheMixin, TabularInline): ...@@ -203,7 +203,7 @@ class PermanenceBoardInline(ForeignKeyCacheMixin, TabularInline):
class LUTPermanenceRoleAdmin(LUTAdmin): class LUTPermanenceRoleAdmin(LUTAdmin):
mptt_level_limit = ONE_LEVEL_DEPTH mptt_level_limit = TWO_LEVEL_DEPTH
inlines = [PermanenceBoardInline] inlines = [PermanenceBoardInline]
def get_fields(self, request, obj=None): def get_fields(self, request, obj=None):
......
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