You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
但是进入后台管理页面 127.0.0.1:8000/admin 时,报错。
报错内容:
Invalid block tag on line 103: 'translate', expected 'endblock'. Did you forget to register or load this tag?
文件:
\ishare-master\simpleui\templates\admin\login.html, error at line 103
103 | <a href="{% url 'password_reset' %}"><i>{% translate 'Forgotten your password or username?' %}</i></a>
大神可否告知这咋弄?
The text was updated successfully, but these errors were encountered:
大神,我把我在win10上运行的记录发一下哈。
运行环境:win10 winpython3.6.6
django2.1.7(为了减少不必要的报错,安装了和大神的一个版本)
运行 runserver是按照提示安装各种包。
安装django_redis是,需要安装4.11.0以下的。
执行runserver,127.0.0.1:8000/页面正常打开。
但是进入后台管理页面 127.0.0.1:8000/admin 时,报错。
报错内容:
Invalid block tag on line 103: 'translate', expected 'endblock'. Did you forget to register or load this tag?
文件:
\ishare-master\simpleui\templates\admin\login.html, error at line 103
103 | <a href="{% url 'password_reset' %}"><i>{% translate 'Forgotten your password or username?' %}</i></a>
大神可否告知这咋弄?
The text was updated successfully, but these errors were encountered: