forked from shaba/openuds
refactoring and updating models for python 3.7 -- MetaPool & Log
This commit is contained in:
parent
4be27489ad
commit
ee34f6c624
@ -34,7 +34,7 @@ import logging
|
||||
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
from uds.models.MetaPool import MetaPool, MetaPoolMember
|
||||
from uds.models.meta_pool import MetaPool, MetaPoolMember
|
||||
from uds.models.ServicesPool import ServicePool
|
||||
from uds.models.user_service import UserService
|
||||
from uds.models.user import User
|
||||
|
@ -60,14 +60,14 @@ from .group import Group
|
||||
# Provisioned services
|
||||
from .ServicesPool import DeployedService # Old name, will continue here for a while already
|
||||
from .ServicesPool import ServicePool # New name
|
||||
from .MetaPool import MetaPool
|
||||
from .meta_pool import MetaPool
|
||||
from .ServicesPoolGroup import ServicesPoolGroup
|
||||
from .ServicesPoolPublication import DeployedServicePublication
|
||||
from .user_service import UserService
|
||||
from .user_service_property import UserServiceProperty
|
||||
|
||||
# Especific log information for an user service
|
||||
from .Log import Log
|
||||
from .log import Log
|
||||
|
||||
# Stats
|
||||
from .StatsCounters import StatsCounters
|
||||
|
@ -40,7 +40,7 @@ from uds.core.util import states
|
||||
from .uuid_model import UUIDModel
|
||||
from .calendar import Calendar
|
||||
from .ServicesPool import ServicePool
|
||||
from .MetaPool import MetaPool
|
||||
from .meta_pool import MetaPool
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
@ -34,8 +34,10 @@ import logging
|
||||
import typing
|
||||
|
||||
from django.db import models
|
||||
|
||||
from uds.core.environment import Environment
|
||||
from uds.core import Module
|
||||
|
||||
from uds.models.uuid_model import UUIDModel
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user