VRE Backend API and Scheduler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
584 B

from django.apps import AppConfig
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
class StudyConfig(AppConfig):
name = 'apps.study'
label = 'study'
verbose_name = _('Study')
verbose_name_plural = _('Studies')
if not hasattr(settings, 'DEFAULT_VM_PROFILE'):
settings.DEFAULT_VM_PROFILE = 2
if not hasattr(settings, 'DEFAULT_VM_OS'):
settings.DEFAULT_VM_OS = 2
def ready(self):
"""
Load custom signals for creating :term:`VRW` models
"""
import apps.study.signals