By avoiding to run syncdb with the full set of test models. Thanks Anssi for the idea.
Regression was introduced in 6a6bb168b. Thanks Bas Peschier for the report.