> For the complete documentation index, see [llms.txt](https://razortheory.gitbook.io/third-party-monitoring-module-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://razortheory.gitbook.io/third-party-monitoring-module-documentation/technical-documentation/model-mixins-todo.md).

# Model Mixins

### ModelHavingTenantRelationsMixin

Sometimes we need to remove some objects. Usually, this is common task but with Tenants we can encounter case when global object having relations from tenants needs to be removed. Database will not allow this and raise IntegrationError. So before removing parent object, we need to ensure there is no related objects left in tenants.
