From e1e6bfd7579daad535afe2c69721a5d43487fe52 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Wed, 30 Oct 2024 12:14:06 -0700 Subject: [PATCH] 7699 update docstring --- netbox/dcim/models/mixins.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/netbox/dcim/models/mixins.py b/netbox/dcim/models/mixins.py index 353bcfe4b..8ea695de2 100644 --- a/netbox/dcim/models/mixins.py +++ b/netbox/dcim/models/mixins.py @@ -35,7 +35,10 @@ class RenderConfigMixin(models.Model): class CachedScopeMixin(models.Model): """ - Cached associations for scope to enable efficient filtering + Mixin for adding a GFK Scope to a model that can point to a Region, SiteGroup, Site, or Location. Includes + cached fields for each to allow efficient filtering. Must do any appropriate validation in the clean method + as this does not have any as validation is generally model specific. + """ scope_type = models.ForeignKey( to='contenttypes.ContentType',