mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
auto compress product icons
This commit is contained in:
37
counter/migrations/0022_alter_product_icon.py
Normal file
37
counter/migrations/0022_alter_product_icon.py
Normal file
@ -0,0 +1,37 @@
|
||||
# Generated by Django 4.2.16 on 2024-09-14 18:02
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
import core.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("counter", "0021_rename_check_cashregistersummaryitem_is_checked"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="product",
|
||||
name="icon",
|
||||
field=core.fields.ResizedImageField(
|
||||
blank=True,
|
||||
height=70,
|
||||
force_format="WEBP",
|
||||
null=True,
|
||||
upload_to="products",
|
||||
verbose_name="icon",
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="producttype",
|
||||
name="icon",
|
||||
field=core.fields.ResizedImageField(
|
||||
blank=True,
|
||||
force_format="WEBP",
|
||||
height=70,
|
||||
null=True,
|
||||
upload_to="products",
|
||||
),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user