Generate Report from Button

Hi ERPNext Community

I Want to generate Report from Button ,I’ve create .html file and .py file (/template/pages…)
my problem is :
The report appears, but the contents of the report (the fields that were called are not shown)
Is the problem calling the .py file ?
Ex.

Located in : {{ location }}

Thanks for the advice