﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18213	loaddata should allow empty fixtures	Luc Saffre	Przemek Lewandowski	"The `loading` management command does the following test:


{{{
# If the fixture we loaded contains 0 objects, assume that an
# error was encountered during fixture loading.
if objects_in_fixture == 0:
    self.stderr.write(
        self.style.ERROR(""No fixture data found for '%s'. (File format may be invalid.)\n"" %
            (fixture_name)))
    if commit:
        transaction.rollback(using=using)
        transaction.leave_transaction_management(using=using)
    return

}}}

I suggest to either remove this test or to add a setting to disable it.
Because a fixture returning no objects is a perfectly possible edge case (depending on some local configuration settings) when using Python fixtures <http://lino.saffre-rumma.net/topics/dumpy.html>.

"	New feature	closed	Core (Management commands)	dev	Normal	fixed		Renato Oliveira timograham@…	Accepted	1	0	0	1	0	0
