Skip to content

Commit

Permalink
debug templates dir
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalGawor committed Dec 11, 2024
1 parent 66a3038 commit 9adb52a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions dogconfig/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description = "Django Digital Object Gate project configuration"
authors = [
"Michal Gawor <[email protected]>"
]
include = ["templates"]
packages = [
{ include = "dogproject"},
]
Expand Down
2 changes: 2 additions & 0 deletions dogui/dogui/views_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())


Expand Down

0 comments on commit 9adb52a

Please sign in to comment.