@staticmethod
    def create_config(data):
        try:
            return Config.objects.get(group=data.get('group'))
        except __HOLE__:
            return Config.objects.create(**data)
dataset/ETHPy150Open LeightonStreet/LingoBarter/lingobarter/utils/populate.py/Populate.create_config