combo/combo/apps/wcs/migrations/0012_wcsformsofcategorycell...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.1 KiB
Python
Raw Normal View History

from django.db import migrations, models
from django.db.models import JSONField
class Migration(migrations.Migration):
dependencies = [
('wcs', '0011_auto_20151215_1121'),
]
operations = [
migrations.AddField(
model_name='wcsformsofcategorycell',
name='manual_order',
field=JSONField(
default=dict,
help_text='Use drag and drop to reorder forms',
verbose_name='Manual Order',
blank=True,
),
preserve_default=True,
),
migrations.AlterField(
model_name='wcsformsofcategorycell',
name='ordering',
2020-09-18 14:32:04 +02:00
field=models.CharField(
default='alpha',
max_length=20,
verbose_name='Order',
choices=[
('alpha', 'Default (alphabetical)'),
('popularity', 'Popularity'),
('manual', 'Manual'),
2021-02-15 18:01:46 +01:00
],
),
preserve_default=True,
),
]