Define __all__ for models.py within each app

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

View File

@@ -11,6 +11,14 @@ from utilities.models import ChangeLoggedModel
from .choices import *
__all__ = (
'Cluster',
'ClusterGroup',
'ClusterType',
'VirtualMachine',
)
#
# Cluster types
#

View File

@@ -1,3 +1,4 @@
from django.core.exceptions import ValidationError
from django.test import TestCase
from virtualization.models import *