# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2021-10-13 15:57
from __future__ import unicode_literals

from django.db import migrations


def set_about_plugin_to_hpe(apps, schema_editor):
    Plugin = apps.get_model('utils', 'Plugin')

    Plugin.objects.filter(
        name='About',
    ).update(
        homepage_element=True,
    )

class Migration(migrations.Migration):

    dependencies = [
        ('core', '0058_merge_20211005_0909'),
    ]

    operations = [
        migrations.RunPython(set_about_plugin_to_hpe, reverse_code=migrations.RunPython.noop)
    ]

# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2021-10-13 15:57
from __future__ import unicode_literals

from django.db import migrations


def set_about_plugin_to_hpe(apps, schema_editor):
    Plugin = apps.get_model('utils', 'Plugin')

    Plugin.objects.filter(
        name='About',
    ).update(
        homepage_element=True,
    )

class Migration(migrations.Migration):

    dependencies = [
        ('core', '0058_merge_20211005_0909'),
        ('utils', '0023_upgrade_1_4_0'),
    ]

    operations = [
        migrations.RunPython(set_about_plugin_to_hpe, reverse_code=migrations.RunPython.noop)
    ]

Fix missing dependency on core.0059 migration
Fix missing dependency on core.0059 migration
