from django.apps import AppConfig
class WpmConfig(AppConfig):
name = 'apps.wpm'
verbose_name = '车间生产'
def ready(self):
# 加载信号
import apps.wpm.signals