forked from shaba/openuds
refactoring and updating models for python 3.7 -- ServicesPool
This commit is contained in:
parent
c9c4a8f578
commit
ffc3d14daf
@ -35,7 +35,7 @@ import logging
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
from uds.models.meta_pool import MetaPool, MetaPoolMember
|
||||
from uds.models.ServicesPool import ServicePool
|
||||
from uds.models.service_pool import ServicePool
|
||||
from uds.models.user_service import UserService
|
||||
from uds.models.user import User
|
||||
|
||||
|
@ -40,7 +40,7 @@ from uds.core.util.State import State
|
||||
from uds.core.environment import Environment
|
||||
from uds.core.util import log
|
||||
|
||||
from uds.models.ServicesPool import DeployedService
|
||||
from uds.models.service_pool import DeployedService
|
||||
from uds.models.util import getSqlDatetime
|
||||
from uds.models.uuid_model import UUIDModel
|
||||
|
||||
@ -202,4 +202,3 @@ class DeployedServicePublication(UUIDModel):
|
||||
signals.pre_delete.connect(DeployedServicePublication.beforeDelete, sender=DeployedServicePublication)
|
||||
|
||||
ServicePoolPublication = DeployedServicePublication
|
||||
|
||||
|
@ -58,8 +58,8 @@ from .user_preference import UserPreference
|
||||
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 .service_pool import DeployedService # Old name, will continue here for a while already
|
||||
from .service_pool import ServicePool # New name
|
||||
from .meta_pool import MetaPool
|
||||
from .ServicesPoolGroup import ServicesPoolGroup
|
||||
from .ServicesPoolPublication import DeployedServicePublication
|
||||
|
@ -39,7 +39,7 @@ from uds.core.util import states
|
||||
|
||||
from .uuid_model import UUIDModel
|
||||
from .calendar import Calendar
|
||||
from .ServicesPool import ServicePool
|
||||
from .service_pool import ServicePool
|
||||
from .meta_pool import MetaPool
|
||||
|
||||
|
||||
|
@ -45,7 +45,7 @@ from uds.core.util import (calendar, log)
|
||||
from .calendar import Calendar
|
||||
from .uuid_model import UUIDModel
|
||||
from .util import getSqlDatetime
|
||||
from .ServicesPool import ServicePool
|
||||
from .service_pool import ServicePool
|
||||
from .transport import Transport
|
||||
from .authenticator import Authenticator
|
||||
# from django.utils.translation import ugettext_lazy as _, ugettext
|
||||
|
@ -46,7 +46,7 @@ from uds.core.util.calendar import CalendarChecker
|
||||
|
||||
from uds.models.image import Image
|
||||
from uds.models.ServicesPoolGroup import ServicesPoolGroup
|
||||
from uds.models.ServicesPool import ServicePool
|
||||
from uds.models.service_pool import ServicePool
|
||||
from uds.models.group import Group
|
||||
from uds.models.calendar import Calendar
|
||||
|
||||
|
@ -42,7 +42,7 @@ from uds.core.util import unique
|
||||
from uds.core.util.State import State
|
||||
from uds.models.uuid_model import UUIDModel
|
||||
|
||||
from uds.models.ServicesPool import DeployedService
|
||||
from uds.models.service_pool import DeployedService
|
||||
from uds.models.ServicesPoolPublication import DeployedServicePublication
|
||||
|
||||
from uds.models.user import User
|
||||
|
Loading…
Reference in New Issue
Block a user