You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enctype attribute. If None, will automatically be set to multipart/form-data if a FileField is present in the form.
However, in an application I work on, this seems not to be the case. I had to set enctype explicitly in the template (it does not work without the enctype below):
I read in the docs:
enctype attribute. If None, will automatically be set to multipart/form-data if a FileField is present in the form.
However, in an application I work on, this seems not to be the case. I had to set
enctype
explicitly in the template (it does not work without the enctype below):The form declaration is as follows:
and it is instantiated with
The text was updated successfully, but these errors were encountered: