We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Im trying to pass fill_template('dashboard/report/word/invoice.odt', context, output_format='pdf')
def report_html_view(request,project_id): try : context = {'number':'93333333'} # Just an example filename = fill_template('dashboard/report/word/invoice.odt', context, output_format='pdf') visible_filename = 'greeting.pdf' except Exception as e: print('Something Went Wrong.!'+ str(e)) return FileResponse(filename, visible_filename)
get_template_sources() takes 2 positional arguments but 3 were given
The text was updated successfully, but these errors were encountered:
Same here with django 2.2.4
Sorry, something went wrong.
En la linea 74 del archivo templated_docs/init.py, quitale el segundo parametro None, la linea quedaría así:
for origin in loader.get_template_sources(template_name):
Saludos.
With django 3.0.3 it is still not useable, will there be any fixes or is this just dead?
No branches or pull requests
Description
Im trying to pass fill_template('dashboard/report/word/invoice.odt', context, output_format='pdf')
What I Did
Output / Error
get_template_sources() takes 2 positional arguments but 3 were given
The text was updated successfully, but these errors were encountered: