File "D:\process\python\process\maoyan\templates\index.html", line 1, in top-level template code
{% extends "common/layout.html" %}
File "D:\process\python\process\maoyan\templates\common\layout.html", line 36, in top-level template code
<li><a href="javascript:void(0);">{{current_user1.nickname}}</a></li>
File "C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\jinja2\environment.py", line 474, in getattr
return getattr(obj, attribute)
jinja2.exceptions.UndefinedError: 'current_user' is undefined
INFO:werkzeug:127.0.0.1 - - [04/Jul/2021 19:00:10] "GET / HTTP/1.1" 500 -