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
File details
Details for the file example_package_Mouritech_storage-0.0.1.tar.gz
.
File metadata
- Download URL: example_package_Mouritech_storage-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89e76f6f82e057640b5546d0817b2005716259c8b029bc0182c50b8b78144583 |
|
MD5 | 2c9a9e1cac42a431c9524b04a3c76806 |
|
BLAKE2b-256 | 708bbb5603e8728571981d5c65513c238b42bf795303a3b3926b0ca8808b40b6 |
File details
Details for the file example_package_Mouritech_storage-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: example_package_Mouritech_storage-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.2 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 | b1924f3d6499c449382c158cf014328b5edd801c8b56f1ea8787005419d6abb4 |
|
MD5 | cd416be4b97407736678067f8c01c218 |
|
BLAKE2b-256 | d96934e4d97b1736b1515d995658034a7cd4078b45ff79df65882fd89c491e7e |