mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-05-05 12:32:28 +00:00
perf: update django_ready
This commit is contained in:
@@ -15,7 +15,7 @@ class CommonConfig(AppConfig):
|
||||
from . import tasks # noqa
|
||||
from .signals import django_ready
|
||||
|
||||
excludes = ['migrate', 'compilemessages', 'makemigrations', 'start', 'shell']
|
||||
excludes = ['migrate', 'compilemessages', 'makemigrations', 'start', 'shell', 'check']
|
||||
for i in excludes:
|
||||
if i in sys.argv:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user