perf: update django_ready

This commit is contained in:
ibuler
2026-03-23 11:23:54 +08:00
parent 1201055527
commit c16a1c48b6

View File

@@ -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