Passing the Request is a must. Just add the Request to your dictionary on TemplateResponse and it will work. from fastapi import FastAPI, ...
確定! 回上一頁