From e2311b53b0a904a56e530cef53eea18f83bd43d9 Mon Sep 17 00:00:00 2001 From: Birger Schacht Date: Fri, 16 Jun 2023 10:00:09 +0200 Subject: [PATCH] feat(core): introduce core module This commit introduces a `core` module and as a start moves some generic templates in its templates folder. Closes: #179 --- apis/settings/base.py | 1 + apis_core/{apis_metainfo => core}/templates/base.html | 0 apis_core/{apis_metainfo => core}/templates/confirm_delete.html | 0 .../templates/partials/bootstrap4_css.html | 0 .../templates/partials/bootstrap4_js.html | 0 .../{apis_metainfo => core}/templates/partials/feather_js.html | 0 6 files changed, 1 insertion(+) rename apis_core/{apis_metainfo => core}/templates/base.html (100%) rename apis_core/{apis_metainfo => core}/templates/confirm_delete.html (100%) rename apis_core/{apis_metainfo => core}/templates/partials/bootstrap4_css.html (100%) rename apis_core/{apis_metainfo => core}/templates/partials/bootstrap4_js.html (100%) rename apis_core/{apis_metainfo => core}/templates/partials/feather_js.html (100%) diff --git a/apis/settings/base.py b/apis/settings/base.py index f3d1ce09b..573239d5e 100644 --- a/apis/settings/base.py +++ b/apis/settings/base.py @@ -96,6 +96,7 @@ "django_tables2", "rest_framework", "webpage", + "apis_core.core", "apis_core.apis_entities", "apis_core.apis_metainfo", "apis_core.apis_relations", diff --git a/apis_core/apis_metainfo/templates/base.html b/apis_core/core/templates/base.html similarity index 100% rename from apis_core/apis_metainfo/templates/base.html rename to apis_core/core/templates/base.html diff --git a/apis_core/apis_metainfo/templates/confirm_delete.html b/apis_core/core/templates/confirm_delete.html similarity index 100% rename from apis_core/apis_metainfo/templates/confirm_delete.html rename to apis_core/core/templates/confirm_delete.html diff --git a/apis_core/apis_metainfo/templates/partials/bootstrap4_css.html b/apis_core/core/templates/partials/bootstrap4_css.html similarity index 100% rename from apis_core/apis_metainfo/templates/partials/bootstrap4_css.html rename to apis_core/core/templates/partials/bootstrap4_css.html diff --git a/apis_core/apis_metainfo/templates/partials/bootstrap4_js.html b/apis_core/core/templates/partials/bootstrap4_js.html similarity index 100% rename from apis_core/apis_metainfo/templates/partials/bootstrap4_js.html rename to apis_core/core/templates/partials/bootstrap4_js.html diff --git a/apis_core/apis_metainfo/templates/partials/feather_js.html b/apis_core/core/templates/partials/feather_js.html similarity index 100% rename from apis_core/apis_metainfo/templates/partials/feather_js.html rename to apis_core/core/templates/partials/feather_js.html