Use Django app registry
Fix tests
Merge branch 'use_app_registry'