'Load fixtures files for a given label.'

def load_label(self, fixture_label):

    show_progress = (self.verbosity >= 3)
    for (fixture_file, fixture_dir, fixture_name) in self.find_fixtures(fixture_label):
        (_, ser_fmt, cmp_fmt) = self.parse_name(os.path.basename(fixture_file))
        (open_method, mode) = self.compression_formats[cmp_fmt]
        fixture = open_method(fixture_file, mode)
        try:
            self.fixture_count += 1
            objects_in_fixture = 0
            loaded_objects_in_fixture = 0
            if (self.verbosity >= 2):
                self.stdout.write(("Installing    %s    fixture    '%s'    from    %s." % (ser_fmt, fixture_name, humanize(fixture_dir))))
            objects = serializers.deserialize(ser_fmt, fixture, using=self.using, ignorenonexistent=self.ignore)
            for obj in objects:
                objects_in_fixture += 1
                if ((obj.object._meta.app_config in self.excluded_apps) or (type(obj.object) in self.excluded_models)):
                    continue
                if router.allow_migrate_model(self.using, obj.object.__class__):
                    loaded_objects_in_fixture += 1
                    self.models.add(obj.object.__class__)
                    try:
                        obj.save(using=self.using)
                        if show_progress:
                            self.stdout.write(('\rProcessed    %i    object(s).' % loaded_objects_in_fixture), ending='')
                    except (DatabaseError, IntegrityError) as e:
                        e.args = (('Could    not    load    %(app_label)s.%(object_name)s(pk=%(pk)s):    %(error_msg)s' % {'app_label': obj.object._meta.app_label, 'object_name': obj.object._meta.object_name, 'pk': obj.object.pk, 'error_msg': e}),)
                        raise
            if (objects and show_progress):
                self.stdout.write('')
            self.loaded_object_count += loaded_objects_in_fixture
            self.fixture_object_count += objects_in_fixture
        except Exception as e:
            if (not isinstance(e, CommandError)):
                e.args = (("Problem    installing    fixture    '%s':    %s" % (fixture_file, e)),)
            raise
        finally:
            fixture.close()
        if (objects_in_fixture == 0):
            warnings.warn(("No    fixture    data    found    for    '%s'.    (File    format    may    be    invalid.)" % fixture_name), RuntimeWarning)
