2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-18 22:27:08 +00:00

Better description

This commit is contained in:
2025-02-08 23:04:19 +00:00
parent 875145fc38
commit c4f990f002
2 changed files with 10 additions and 9 deletions

View File

@@ -149,7 +149,7 @@ def new_image_form(request, path):
thumbnail.save(tb, format="jpeg", quality = 70)
image_rel_path, thumb_rel_path, desc_rel_path = form.get_rel_paths()
print(f"new_image_form(): \n {image_rel_path=}\n {thumb_rel_path=}\n {desc_rel_path=}")
image_page_template = loader.get_template("image_page_template.html") # this is the .html file in the /l/ folder
image_page_template = loader.get_template("image_page_template.html")
image_page = image_page_template.render(
{
"header": form.cleaned_data["header"],