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.2.tar.gz
(1.9 kB
view details)
File details
Details for the file django-resized-0.1.2.tar.gz.
File metadata
- Download URL: django-resized-0.1.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55364985119befbe9fc527d1cb359a3264fa26a3c1956e10490360ae214bd3e3
|
|
| MD5 |
cf4a5c9fcc7430d21f069d733b8915d8
|
|
| BLAKE2b-256 |
2b008bd3488d29079206d6a951e5fa463ad2c0ae5c5148b4f45ada263b212521
|