abhirajadhikary06 / abhirajadhikary06/eventstack

Template Parsing Error (unknown operator: 'endblock')

未關閉
#112 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
20
分支
59
PR 合併指標
30 天內沒有已合併 PR

描述

**Issue: Template Parsing Error (unknown operator: 'endblock')**

**Description**
The deployed app on Render crashes with the following error:

tornado.template.ParseError: unknown operator: 'endblock' at base.html:6

This happens because the templates are written with Jinja-style tags ({% block %} ... {% endblock %}), but Tornado’s default template engine doesn’t recognize endblock.

**Steps to Reproduce**

- Open the deployed link (eventstack.onrender.com)
- Try accessing the login page
- Error appears in logs

**Proposed Fix**

Option 1: Switch Tornado to use Jinja2 as the template engine
Option 2: Update templates to use Tornado’s native syntax ({% end %} instead of {% endblock %})

**Expected Outcome**
Templates should render correctly without crashing, and the hosted site should be functional.

Image

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。