What is the value of pk in
study_form_set = DiagnosticStudyFormSet(request.POST, request.FILES,
prefix='studies',
queryset=DiagnosticStudy.objects.filter(diagnostic__id=pk)). ?
Is pk an int? try print type(pk)
El martes, 12 de enero de 2016, Néstor Boscán escribió:
> Hi
Hi Django Forum
I'm working on a web application that has a page with form set that
requires file upload. When I upload the files I get:
Django Version:1.9.1Exception Type:ValueErrorException Value:
invalid literal for int() with base 10: ''
Exception
2 matches
Mail list logo