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
I tried providing page width in css, however it didn't work. Is it possible to generate pdf in landscape mode ?
The text was updated successfully, but these errors were encountered:
on get_context_data method,
return super(PDFTemplateViewClass, self).get_context_data(pagesize="A4 landscape",**kwargs)
Sorry, something went wrong.
on your template add this {% block layout_style %}
{% endblock %}
Thanks for the support 👍🏽
No branches or pull requests
I tried providing page width in css, however it didn't work.
Is it possible to generate pdf in landscape mode ?
The text was updated successfully, but these errors were encountered: