0005_auto_20220823_1659.py 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # Generated by Django 3.2.15 on 2022-08-23 16:59
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. import wagtail_editable_help.models
  5. class Migration(migrations.Migration):
  6. dependencies = [
  7. ("wagtailimages", "0024_index_image_file_hash"),
  8. ("breads", "0004_use_json_field_for_body_streamfield"),
  9. ]
  10. operations = [
  11. migrations.AlterField(
  12. model_name="breadpage",
  13. name="image",
  14. field=models.ForeignKey(
  15. blank=True,
  16. help_text=wagtail_editable_help.models.HelpText(
  17. "Common",
  18. "hero image",
  19. default="Landscape mode only; horizontal width between 1000px and 3000px.",
  20. ),
  21. null=True,
  22. on_delete=django.db.models.deletion.SET_NULL,
  23. related_name="+",
  24. to="wagtailimages.image",
  25. ),
  26. ),
  27. migrations.AlterField(
  28. model_name="breadpage",
  29. name="introduction",
  30. field=models.TextField(
  31. blank=True,
  32. help_text=wagtail_editable_help.models.HelpText(
  33. "Bread page", "introduction", default="Text to describe the page"
  34. ),
  35. ),
  36. ),
  37. migrations.AlterField(
  38. model_name="breadsindexpage",
  39. name="image",
  40. field=models.ForeignKey(
  41. blank=True,
  42. help_text=wagtail_editable_help.models.HelpText(
  43. "Common",
  44. "hero image",
  45. default="Landscape mode only; horizontal width between 1000px and 3000px.",
  46. ),
  47. null=True,
  48. on_delete=django.db.models.deletion.SET_NULL,
  49. related_name="+",
  50. to="wagtailimages.image",
  51. ),
  52. ),
  53. migrations.AlterField(
  54. model_name="breadsindexpage",
  55. name="introduction",
  56. field=models.TextField(
  57. blank=True,
  58. help_text=wagtail_editable_help.models.HelpText(
  59. "Breads index page",
  60. "introduction",
  61. default="Text to describe the page",
  62. ),
  63. ),
  64. ),
  65. ]