  
  from . import Error, register
  
  
  @register('models')
  def check_all_models(app_configs=None, **kwargs):
      errors = [model.check(**kwargs)
          for model in apps.get_models()
          if app_configs is None or model._meta.app_config in app_configs]
      return list(chain(*errors))
 
</s> remove @register('models', 'signals')
 </s> add @register(Tags.models, Tags.signals) </s> remove from . import Error, register
 </s> add from . import Error, Tags, register </s> remove @register('compatibility')
 </s> add @register(Tags.compatibility) </s> remove from .. import Warning, register
 </s> add from .. import Warning, register, Tags
@register(Tags.models)
  
  from . import Error, register
  
  
@register(Tags.models)
  def check_all_models(app_configs=None, **kwargs):
      errors = [model.check(**kwargs)
          for model in apps.get_models()
          if app_configs is None or model._meta.app_config in app_configs]
      return list(chain(*errors))
keep keep keep keep replace keep keep keep keep keep
 Fixed #22195 -- Used constants to define built-in tags for check framework.

Thanks Elvard for the patch. 
django/core/checks/model_checks.py