Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty self.request.FILES on validation request #160

Open
guillermo426 opened this issue Apr 4, 2021 · 0 comments
Open

Empty self.request.FILES on validation request #160

guillermo426 opened this issue Apr 4, 2021 · 0 comments
Labels
enhancement New feature or request high priority

Comments

@guillermo426
Copy link

guillermo426 commented Apr 4, 2021

Hi
I have a form with a file field. In the form validation, I need to validate something in the file, but I see self.request.FILES is empty on first request (the validation one), it only come with the files in the second submit (the save one). So, if the files are right, everything goes ok, but if the files are wrong, I only can detect it too early.
Thanks in advance for your help.

@trco trco added the Q&A Questions and answers label Apr 12, 2021
@trco trco added enhancement New feature or request high priority and removed Q&A Questions and answers labels Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high priority
Projects
None yet
Development

No branches or pull requests

2 participants