0004_auto_20180522_1856.py 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Generated by Django 2.0.4 on 2018-05-22 18:56
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ("base", "0003_auto_20170823_1127"),
  7. ]
  8. operations = [
  9. migrations.AlterField(
  10. model_name="formfield",
  11. name="field_type",
  12. field=models.CharField(
  13. choices=[
  14. ("singleline", "Single line text"),
  15. ("multiline", "Multi-line text"),
  16. ("email", "Email"),
  17. ("number", "Number"),
  18. ("url", "URL"),
  19. ("checkbox", "Checkbox"),
  20. ("checkboxes", "Checkboxes"),
  21. ("dropdown", "Drop down"),
  22. ("multiselect", "Multiple select"),
  23. ("radio", "Radio buttons"),
  24. ("date", "Date"),
  25. ("datetime", "Date/time"),
  26. ("hidden", "Hidden field"),
  27. ],
  28. max_length=16,
  29. verbose_name="field type",
  30. ),
  31. ),
  32. migrations.AlterField(
  33. model_name="gallerypage",
  34. name="collection",
  35. field=models.ForeignKey(
  36. blank=True,
  37. help_text="Select the image collection for this gallery.",
  38. limit_choices_to=models.Q(_negated=True, name__in=["Root"]),
  39. null=True,
  40. on_delete=django.db.models.deletion.SET_NULL,
  41. to="wagtailcore.Collection",
  42. ),
  43. ),
  44. ]