diff --git a/apis_core/utils/settings.py b/apis_core/utils/settings.py index 116deff5f..4b9bd9832 100644 --- a/apis_core/utils/settings.py +++ b/apis_core/utils/settings.py @@ -2,7 +2,6 @@ # SPDX-License-Identifier: MIT import logging -from pathlib import Path import tomllib from django.conf import settings @@ -11,11 +10,6 @@ logger = logging.getLogger(__name__) -def default_settings() -> Path: - curpath = Path(__file__).parent - return curpath.parent / "default_settings" - - def get_entity_settings_by_modelname(entity: str = None) -> dict: """ return the settings for a specific entity or the dict for all entities @@ -28,10 +22,6 @@ def get_entity_settings_by_modelname(entity: str = None) -> dict: return apis_entities -def list_links_to_edit() -> bool: - return getattr(settings, "APIS_LIST_LINKS_TO_EDIT", False) - - def dict_from_toml_directory(directory: str) -> dict: configs = {} pathlists = [path.glob("**/*.toml") for path in get_app_template_dirs(directory)]