1👍
You can store data, encoded into base64, for example. Or try to analize HTTP headers from browser, may be it is simplier to get proper encoding from there.
1👍
Create a File with the data. Use a Django models.FileField
to hold a reference to the file.
No it does not involve a ton of I/O. If your file is small it adds 2 or 3 I/O’s (the directory read, the iNode read and the data read.)
- [Answered ]-(How) does Django prevent data injection by manipulating forms?
- [Answered ]-Running into issues with Django's ModelChoiceField "queryset" attribute
- [Answered ]-Django form with Dynamic fields. Invalid but no errors
- [Answered ]-Django cms 3.4.1 admin dlogo
- [Answered ]-Django Model Admin with FileField cannot read file in save_model after reading file when validating
Source:stackexchange.com