瀏覽代碼

Generate a migration after upgrade to Wagtail 1.12

Mikalai Radchuk 7 年之前
父節點
當前提交
226cfcfbb2
共有 1 個文件被更改,包括 20 次插入0 次删除
  1. 20 0
      bakerydemo/base/migrations/0003_auto_20170823_1127.py

+ 20 - 0
bakerydemo/base/migrations/0003_auto_20170823_1127.py

@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.3 on 2017-08-23 11:27
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('base', '0002_auto_20170329_0055'),
+    ]
+
+    operations = [
+        migrations.AlterField(
+            model_name='formfield',
+            name='field_type',
+            field=models.CharField(choices=[('singleline', 'Single line text'), ('multiline', 'Multi-line text'), ('email', 'Email'), ('number', 'Number'), ('url', 'URL'), ('checkbox', 'Checkbox'), ('checkboxes', 'Checkboxes'), ('dropdown', 'Drop down'), ('multiselect', 'Multiple select'), ('radio', 'Radio buttons'), ('date', 'Date'), ('datetime', 'Date/time')], max_length=16, verbose_name='field type'),
+        ),
+    ]