def allow_syncdb(self, db, model):
        from django.conf import settings
        db_name = getattr(settings, 'PEAVY_DATABASE_NAME', 'peavy')

        allow = None
        if db == db_name:
            allow = ['peavy', 'south'] in model._meta.app_label
        elif model._meta.app_label == 'peavy':
            allow = False
        return allow
dataset/ETHPy150Open fairview/django-peavy/peavy/routers.py/DjangoDBRouter.allow_syncdb/swapped operands of `in`