mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-14 20:33:41 +00:00
[Update] 去掉perms cache enable settings
This commit is contained in:
parent
2d4498578a
commit
1936a6d5ee
@ -1,14 +1,7 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
from django.conf import settings
|
|
||||||
from django.apps import AppConfig
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
class PermsConfig(AppConfig):
|
class PermsConfig(AppConfig):
|
||||||
name = 'perms'
|
name = 'perms'
|
||||||
|
|
||||||
def ready(self):
|
|
||||||
from . import signals_handler
|
|
||||||
if not settings.XPACK_ENABLED:
|
|
||||||
settings.ASSETS_PERM_CACHE_ENABLE = False
|
|
||||||
return super().ready()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user