21 lines
560 B
Python
21 lines
560 B
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("procurement", "0018_procurementitemattachment_comment"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="procurementitemattachment",
|
|
name="thumbnail",
|
|
field=models.ImageField(
|
|
blank=True,
|
|
null=True,
|
|
upload_to="procurement/item_attachment_thumbnails/%Y/%m/%d/",
|
|
verbose_name="Миниатюра",
|
|
),
|
|
),
|
|
]
|