Relative Content

Tag Archive for pythonpython-3.xdjangodjango-forms

Raise Validation error in the forms.py when the header/row is empty or not correct wording

I have been trying to solve this issue for a while and am stumped, this issue is a bit unique in a sense that the csv file that I am checking the header for is from a file upload in the forms.py. What I mean is that the csv file being checked does not exist in any directory so you can’t just open a specific file, just from my research of other solutions, they all seem to be about an existing file in a directory rather than a file upload.