module documentation

Undocumented

Function check_all_models Undocumented
Function check_lazy_references Undocumented
Function _check_lazy_references Ensure all lazy (i.e. string) model references have been resolved.
@register(Tags.models)
def check_all_models(app_configs=None, **kwargs): (source)

Undocumented

@register(Tags.models)
def check_lazy_references(app_configs=None, **kwargs): (source)

Undocumented

def _check_lazy_references(apps, ignore=None): (source)

Ensure all lazy (i.e. string) model references have been resolved. Lazy references are used in various places throughout Django, primarily in related fields and model signals. Identify those common cases and provide more helpful error messages for them. The ignore parameter is used by StateApps to exclude swappable models from this check.