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

FormParser: FormParserConfig instance passed as FileConfig #128

Open
yecril23pl opened this issue Feb 25, 2024 · 0 comments
Open

FormParser: FormParserConfig instance passed as FileConfig #128

yecril23pl opened this issue Feb 25, 2024 · 0 comments

Comments

@yecril23pl
Copy link
Contributor

The expression FileClass(file_name, field_name, config=self.config) looks wrong. It substitutes an instance of FormParserConfig for a FileConfig parameter. These bundles are conceptually different; in particular, there is no way to specify a value for UPLOAD_DELETE_TMP unless you violate the specification for FormParserConfig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant