key_group to unique_together in config model