from dal.test.utils import Fixtures, fixtures

from django.apps import AppConfig
from django.db.models.signals import post_migrate


class TestApp(AppConfig):
    name = 'select2_gm2m'

    def ready(self):
        post_migrate.connect(fixtures, sender=self)
        post_migrate.connect(Fixtures('auth.group'), sender=self)
