Add support for the app registry in Django 1.7.