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

Define __all__ for models.py within each app

This commit is contained in:
Jeremy Stretch
2020-01-14 12:01:23 -05:00
parent 26a257b794
commit 6959785cd1
10 changed files with 84 additions and 8 deletions

View File

@@ -4,6 +4,11 @@ from extras.models import ObjectChange
from utilities.utils import serialize_object
__all__ = (
'ChangeLoggedModel',
)
class ChangeLoggedModel(models.Model):
"""
An abstract model which adds fields to store the creation and last-updated times for an object. Both fields can be