Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SyDjango Mar 2018 -- PDF Fun

This is a repo I created for a presentation I gave at SyDjango Mar 2018 about my experience with fillable PDF forms.

Also have a blog post on this topic: https://yoongkang.com/blog/pdf-forms-with-python/

Requirements

Please install pdftk: https://www.pdflabs.com/tools/pdftk-server/

Installation

Make sure you have Pipenv installed, then run the following commands:

$ pipenv install
$ pipenv run python manage.py migrate
$ pipenv run python manage.py runserver

You should be able to access the server on http://localhost:8000/

Comments

Previously in this repository, I sent the image as a base64 encoded string. Don't do this.

A better idea would be to send it as a Blob. Do that instead.

I have now changed the code to use a Blob sent using FormData.

About

PDF fun

Resources

Releases

No releases published

Packages

No packages published