A Mouritech package
Project description
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}) }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file MT_PY_S3_STORAGE_BUCKET-0.0.1.tar.gz.
File metadata
- Download URL: MT_PY_S3_STORAGE_BUCKET-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb408158d19c445010e7bb87b30d0be47e06d667c0741465a26a7a9253017375
|
|
| MD5 |
1cad2f088884b7cd796c7b3d8e0d92b7
|
|
| BLAKE2b-256 |
70500d454ccbc81030512eafcbaf5ba1eff6edabe51587424cb05d9488133e7b
|
File details
Details for the file MT_PY_S3_STORAGE_BUCKET-0.0.1-py3-none-any.whl.
File metadata
- Download URL: MT_PY_S3_STORAGE_BUCKET-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2989d7c090b560b63bf8d760d2551343d660cd358822e5ca82f132e60f0bed7
|
|
| MD5 |
be844cba3d847e7c9b00ffe2e725628b
|
|
| BLAKE2b-256 |
c4b7c8190172d5fc9a5f93985ed0a29ef2c7536ea93b0219a6f3846f558a8024
|