1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #13427: Public model registration (#14152)

* Initial work on #13427

* Clarify documentation

* Reference public models registry when populating models for ConfigTemplate context
This commit is contained in:
Jeremy Stretch
2023-11-03 10:32:59 -04:00
committed by GitHub
parent f6338abf14
commit 8dcbd66de6
18 changed files with 98 additions and 22 deletions

View File

@@ -49,6 +49,8 @@ class CachedValue(models.Model):
default=1000
)
_netbox_private = True
class Meta:
ordering = ('weight', 'object_type', 'value', 'object_id')
verbose_name = _('cached value')