# Generated by Django 3.2.5 on 2021-07-21 12:02

import os

from django.core.management import call_command
from django.db import migrations


def carica_dati(apps, schema_editor):
    fixture_path = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))),"dati_geo_app","fixtures","dati_geo_0002.json")
    call_command("loaddata", fixture_path)


class Migration(migrations.Migration):

    dependencies = [
        ('dati_geo_app', '0001_initial'),
    ]

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