admin_registry_initialized
|
Emitted when the AdminRegistry instance has been successfully initialized and is ready to register models. |
sender (AdminRegistry): The instance of the registry.
|
admin_model_registered
|
Emitted when a SQLAlchemy model class is successfully registered with the AdminRegistry. |
sender (AdminRegistry): The registry instance.<br>``model_class`` (type): The registered model class.<br>``model_name`` (str): The original (case-sensitive) name of the model.<br>``lowercase_name`` (str): The lowercase name used as the internal key for the model.
|
admin_model_registration_failed
|
Emitted when an attempt to register a model with the AdminRegistry fails. This signal provides details about the reason for failure. |
sender (AdminRegistry): The registry instance.<br>``model_class`` (type): The model class that failed to register.<br>``model_name`` (str): The original name of the model.<br>``error_type`` (str): A string indicating the reason for failure ("invalid_class", "already_registered", or "exception").<br>``exception`` (Exception, optional): The exception object if error_type is "exception".
|