Skip to main content

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}) }

Release files for MT-PY-S3-STORAGE-BUCKET 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MT-PY-S3-STORAGE-BUCKET 0.0.1
File Size Uploaded
MT_PY_S3_STORAGE_BUCKET-0.0.1.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for MT-PY-S3-STORAGE-BUCKET 0.0.1
File Interpreter ABI Platform
MT_PY_S3_STORAGE_BUCKET-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / MT_PY_S3_STORAGE_BUCKET-0.0.1.tar.gz

Download URL MT_PY_S3_STORAGE_BUCKET-0.0.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fb408158d19c445010e7bb87b30d0be47e06d667c0741465a26a7a9253017375
BLAKE2b-256 checksum
How to use checksums
70500d454ccbc81030512eafcbaf5ba1eff6edabe51587424cb05d9488133e7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release files / MT_PY_S3_STORAGE_BUCKET-0.0.1-py3-none-any.whl

Download URL MT_PY_S3_STORAGE_BUCKET-0.0.1-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2989d7c090b560b63bf8d760d2551343d660cd358822e5ca82f132e60f0bed7
BLAKE2b-256 checksum
How to use checksums
c4b7c8190172d5fc9a5f93985ed0a29ef2c7536ea93b0219a6f3846f558a8024
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page