Deletes old files.
Project description
# django-resized
Resizes image origin to specified size.
## Requirements
sorl-thumbnail, http://thumbnail.sorl.net/
## Installation
pip install django-resized
## Usage
models.py
from django_resized import ResizedImageField
- class MyModel(models.Model):
… image = ResizedImageField(max_width=500, max_height=300, upload_to=’whatever’)
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
django-resized-0.1.1.tar.gz
(1.9 kB
view details)
File details
Details for the file django-resized-0.1.1.tar.gz.
File metadata
- Download URL: django-resized-0.1.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b8d3519e29ecc47e3daed6c3c8600af3ed03ffa685a63e8f5b130bf7d9486fb
|
|
| MD5 |
3ae0eec5314921bf23d1b3a5d683c360
|
|
| BLAKE2b-256 |
0a075e5a37836803ce4eea607aa8839ec16c82d518f69222f13a0e120c34beec
|