In the eight part of this series, we'll make it possible to generate and download PDF based on HTML.
Todo list:
-Install wkhtmltopdf (http://wkhtmltopdf.org/)
-Install pdfkit (pip install django-pdfkit)
-Create Django view for generating pdf
-Add the view to the urls file
-Create html template
-Create model functions
-Install js-file-download (npm install js-file-download)
-Create button and function in Vue for creating PDF
---
Important links
Patreon: / codewithstein
Twitter: / codewithstein
Website: https://codewithstein.com
GitHub
Vue
Repo: https://github.com/SteinOveHelset/inv...
Part eight: https://github.com/SteinOveHelset/inv...
Django
Repo: https://github.com/SteinOveHelset/inv...
Part eight: https://github.com/SteinOveHelset/inv...
---
#codewithstein #django #djangoandvue #djangorestframework #djangovue #vue #vuejs #djangotutorial #learndjango #axios #vueaxios #djoser #djangocorsheaders