(event, sender, **kwargs)
Handle any pending relations to the sending model.
Sent from class_prepared.
Handle any pending relations to the sending model.
Sent from class_prepared.
Handle any pending relations to the sending model . Sent from class_prepared .
def do_pending_lookups(event, sender, **kwargs):
    """Handle any pending relations to the sending model.
Sent from class_prepared."""
    key = (sender._meta.app_label, sender._meta.name)
    for callback in pending_lookups.pop(key, []):
        callback(sender)
def do_pending_lookups ( event , sender , * * kwargs ) : key = ( sender . _meta . app_label , sender . _meta . name ) for callback in pending_lookups . pop ( key , [ ] ) : callback ( sender )