Mike R.
asked on
Alteration to allow Django API to receive PDF file instead of JPG
I'm a Python developer but not a Django developer. I'm trying to get a feel for how, and how difficult, it would be to change the attached code from accepting JPGs files via the API to accepting PDF files.
Currently it errors when accepting PDFs...but works great with JPGs.
Please see the code snippets below.
Thanks!
admin.py
models.py
serializers.py
urls.py
views.py
apihandler.py
Currently it errors when accepting PDFs...but works great with JPGs.
Please see the code snippets below.
Thanks!
admin.py
models.py
serializers.py
urls.py
views.py
apihandler.py
Can you show the errors that you are receiving when trying to upload a PDF?
ASKER
I cant show the errors anymore unfortunately :)
But this is less of a 'give me code to fix it' and more of a PM question. I'm looking for how many hours I should expect for a devel to make this change...if that makes sense :)
But this is less of a 'give me code to fix it' and more of a PM question. I'm looking for how many hours I should expect for a devel to make this change...if that makes sense :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
awesome! thanks!