mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-21 14:20:54 +00:00
Part image field now uses django-stdimage
This commit is contained in:
20
InvenTree/part/migrations/0033_auto_20200404_0445.py
Normal file
20
InvenTree/part/migrations/0033_auto_20200404_0445.py
Normal file
@ -0,0 +1,20 @@
|
||||
# Generated by Django 2.2.10 on 2020-04-04 04:45
|
||||
|
||||
from django.db import migrations
|
||||
import part.models
|
||||
import stdimage.models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('part', '0032_auto_20200322_0453'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='part',
|
||||
name='image',
|
||||
field=stdimage.models.StdImageField(blank=True, null=True, upload_to=part.models.rename_part_image),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user