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

Source distribution for example-package-Mouritech-storage 0.0.1
File Size Uploaded
example_package_Mouritech_storage-0.0.1.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for example-package-Mouritech-storage 0.0.1
File Interpreter ABI Platform
example_package_Mouritech_storage-0.0.1-py3-none-any.whl Python 3 none any Details

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

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