[Update] 去掉perms cache enable settings

pull/3972/head
ibuler 2020-05-08 14:25:28 +08:00
parent 2d4498578a
commit 1936a6d5ee
1 changed files with 0 additions and 7 deletions

View File

@ -1,14 +1,7 @@
from __future__ import unicode_literals
from django.conf import settings
from django.apps import AppConfig
class PermsConfig(AppConfig):
name = 'perms'
def ready(self):
from . import signals_handler
if not settings.XPACK_ENABLED:
settings.ASSETS_PERM_CACHE_ENABLE = False
return super().ready()