From 9adb52a1fdb40d290cb252e1f9ccb7fa577d918e Mon Sep 17 00:00:00 2001 From: gawor Date: Wed, 11 Dec 2024 16:27:51 +0100 Subject: [PATCH] debug templates dir --- dogconfig/pyproject.toml | 1 + dogui/dogui/views_ui.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/dogconfig/pyproject.toml b/dogconfig/pyproject.toml index 579c3f3..531a8b9 100644 --- a/dogconfig/pyproject.toml +++ b/dogconfig/pyproject.toml @@ -4,6 +4,7 @@ description = "Django Digital Object Gate project configuration" authors = [ "Michal Gawor " ] +include = ["templates"] packages = [ { include = "dogproject"}, ] diff --git a/dogui/dogui/views_ui.py b/dogui/dogui/views_ui.py index 118f011..e6becbf 100644 --- a/dogui/dogui/views_ui.py +++ b/dogui/dogui/views_ui.py @@ -55,6 +55,8 @@ def home(request: HttpRequest) -> HttpResponse: pid_form: PIDForm = PIDForm(initial={'functionality_field': 'sniff'}) context.push({"pid_form": pid_form}) context.push({"view": "home"}) + base_dir = settings.BASE_DIR + print(base_dir) return render(request, "UI/_content.html", context.flatten())