At the moment, our code is capable of storing the files in the database. However, this is not a desirable practice. With time our database will get "fat" and slow, and we do not want that to happen. Images haven't been stored in databases as blobs for a while now, and you'll typically save images on your own server where the application is hosted on, or on an external server or service such as AWS's S3.
Multiple file input from django.forms import ModelForm, ClearableFileInput from .models import Beast
class BeastForm(ModelForm): class Meta: model = Beast fields = 'all' widgets = { 'media': ClearableFileInput(attrs={'multiple': True}) }
Metadata
Release files for example-package-Mouritech-storage 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| example_package_Mouritech_storage-0.0.1.tar.gz | 2.6 kB | Without provenance | Details for example_package_Mouritech_storage-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| example_package_Mouritech_storage-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for example_package_Mouritech_storage-0.0.1-py3-none-any.whl |
Total release size: 5.7 kB
Release files / example_package_Mouritech_storage-0.0.1.tar.gz
| Download URL | example_package_Mouritech_storage-0.0.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89e76f6f82e057640b5546d0817b2005716259c8b029bc0182c50b8b78144583
|
|
BLAKE2b-256 checksum How to use checksums |
708bbb5603e8728571981d5c65513c238b42bf795303a3b3926b0ca8808b40b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.7
|
Release files / example_package_Mouritech_storage-0.0.1-py3-none-any.whl
| Download URL | example_package_Mouritech_storage-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1924f3d6499c449382c158cf014328b5edd801c8b56f1ea8787005419d6abb4
|
|
BLAKE2b-256 checksum How to use checksums |
d96934e4d97b1736b1515d995658034a7cd4078b45ff79df65882fd89c491e7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.7
|
Security for example-package-Mouritech-storage 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.