Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

案例有点看不明白 #2

Open
lonngxiang opened this issue Sep 13, 2021 · 0 comments
Open

案例有点看不明白 #2

lonngxiang opened this issue Sep 13, 2021 · 0 comments

Comments

@lonngxiang
Copy link

@bp.route('/login', methods=['GET', 'POST'])
async def login(request):
error = None
return await render_template('admin/login_user.html', request,
{'error': error})

bp是?await render_template 是sanic的函数还是这个包的函数?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant