PEP8 cleanups. Add keyword arguments. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
34 lines
1.1 KiB
Python
34 lines
1.1 KiB
Python
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('converter', '0010_auto_20150815_0351'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='transformation',
|
|
name='name',
|
|
field=models.CharField(
|
|
choices=[
|
|
('crop', 'Crop: left, top, right, bottom'),
|
|
('flip', 'Flip'),
|
|
('gaussianblur', 'Gaussian blur: radius'),
|
|
('mirror', 'Mirror'), ('resize', 'Resize: width, height'),
|
|
('rotate', 'Rotate: degrees'),
|
|
('rotate180', 'Rotate 180 degrees'),
|
|
('rotate270', 'Rotate 270 degrees'),
|
|
('rotate90', 'Rotate 90 degrees'),
|
|
(
|
|
'unsharpmask',
|
|
'Unsharp masking: radius, percent, threshold'
|
|
), ('zoom', 'Zoom: percent')
|
|
], max_length=128, verbose_name='Name'
|
|
),
|
|
),
|
|
]
|