refactoring and updating models for python 3.7 -- MetaPool & Log

This commit is contained in:
Adolfo Gómez García 2019-08-13 11:14:15 +02:00
parent 4be27489ad
commit ee34f6c624
6 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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__)

View File

@ -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