Fix for isolated testing under Django 1.7 ("App registry isn't ready yet")