dav_base: moved constants into config
Run tests / Execute tox to run the test suite (push) Successful in 3m36s
Run tests / Execute tox to run the test suite (push) Successful in 3m36s
This commit is contained in:
@@ -1,2 +1,3 @@
|
|||||||
|
from .constants import DJANGO_MAIN_MODULE, MODULE_APP_SETTINGS_PREFIX, MODULES_CONFIG_FILE_NAME
|
||||||
from . import apps
|
from . import apps
|
||||||
from . import modules
|
from . import modules
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import re
|
|||||||
from django.apps import AppConfig as _AppConfig
|
from django.apps import AppConfig as _AppConfig
|
||||||
from django.core.exceptions import ImproperlyConfigured
|
from django.core.exceptions import ImproperlyConfigured
|
||||||
|
|
||||||
from ..constants import DJANGO_MAIN_MODULE, MODULE_APP_SETTINGS_PREFIX
|
from ..config import DJANGO_MAIN_MODULE, MODULE_APP_SETTINGS_PREFIX
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ from importlib.resources import files as resource_files
|
|||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.urls import re_path, include
|
from django.urls import re_path, include
|
||||||
|
|
||||||
from ..constants import DJANGO_MAIN_MODULE, MODULES_CONFIG_FILE_NAME
|
from ..config import DJANGO_MAIN_MODULE, MODULES_CONFIG_FILE_NAME
|
||||||
|
|
||||||
|
|
||||||
class ModuleConfigError(Exception):
|
class ModuleConfigError(Exception):
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import sys
|
|||||||
from importlib.resources import files as resource_files
|
from importlib.resources import files as resource_files
|
||||||
from django.core.management import execute_from_command_line
|
from django.core.management import execute_from_command_line
|
||||||
|
|
||||||
from dav_base.constants import DJANGO_MAIN_MODULE, MODULE_APP_SETTINGS_PREFIX
|
from dav_base.config import DJANGO_MAIN_MODULE, MODULE_APP_SETTINGS_PREFIX
|
||||||
from dav_base.config.modules import ModuleConfig
|
from dav_base.config.modules import ModuleConfig
|
||||||
|
|
||||||
VERSION = '0.1'
|
VERSION = '0.1'
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ from importlib.resources import files as resource_files
|
|||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.core.management.base import BaseCommand, CommandError
|
from django.core.management.base import BaseCommand, CommandError
|
||||||
|
|
||||||
from dav_base.constants import DJANGO_MAIN_MODULE, MODULE_APP_SETTINGS_PREFIX
|
from dav_base.config import DJANGO_MAIN_MODULE, MODULE_APP_SETTINGS_PREFIX
|
||||||
from dav_base.config.modules import ModuleMeta
|
from dav_base.config.modules import ModuleMeta
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user