1from django.db import models 2 3from sorl.thumbnail import ImageField 4 5 6class Item(models.Model): 7 image = ImageField(upload_to=True) 8