from pytils import translit
class Book(models.Model):
def get_image_path(self, filename):
path = ''.join(["pictures/",translit.slugify(filename)])
return path
...
image = models.ImageField(verbose_name='Изображение', upload_to=get_image_path)