added pdf.js to add pdf support.

This commit is contained in:
ajurna
2020-05-21 15:26:56 +01:00
parent f4411163f9
commit ca5bb60bb2
6 changed files with 81418 additions and 9 deletions

View File

@@ -11,7 +11,6 @@ gunicorn = "*"
django-recaptcha2 = "*" django-recaptcha2 = "*"
django-bootstrap4 = "*" django-bootstrap4 = "*"
dj-database-url = "*" dj-database-url = "*"
pypdf2 = "*"
pypdf4 = "*" pypdf4 = "*"
[requires] [requires]

9
Pipfile.lock generated
View File

@@ -1,7 +1,7 @@
{ {
"_meta": { "_meta": {
"hash": { "hash": {
"sha256": "548d0f8003c2238f35176fd522fcca7d6108c2c9146f6cb0320660e6bb0212cc" "sha256": "b51288c5b15f6ce2fd3708f36c5872bdb0d37775f0cbe9d23193a32f4c87b34a"
}, },
"pipfile-spec": 6, "pipfile-spec": 6,
"requires": { "requires": {
@@ -92,13 +92,6 @@
], ],
"version": "==2.9" "version": "==2.9"
}, },
"pypdf2": {
"hashes": [
"sha256:e28f902f2f0a1603ea95ebe21dff311ef09be3d0f0ef29a3e44a932729564385"
],
"index": "pypi",
"version": "==1.26.0"
},
"pypdf4": { "pypdf4": {
"hashes": [ "hashes": [
"sha256:7c932441146d205572f96254d53c79ea2c30c9e11df55a5cf87e056c7b3d7f89" "sha256:7c932441146d205572f96254d53c79ea2c30c9e11df55a5cf87e056c7b3d7f89"

24893
static/pdfjs/build/pdf.js Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

56522
static/pdfjs/build/pdf.worker.js vendored Normal file

File diff suppressed because it is too large Load Diff

1
static/pdfjs/build/pdf.worker.js.map vendored Normal file

File diff suppressed because one or more lines are too long