Changes in Django 1.7 break nested Applications
|Reported by:||glassresistor||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently applications like django-oauth2-provider which include nested applications for organizational reasons now break in 1.7.
Causing errors like
DeserializationError: Problem installing fixture '/home/mike/code/django-oauth2-provider/provider/oauth2/fixtures/test_oauth2.json': Invalid model identifier: 'oauth2.client'
The issue is that dev now names this provider_client instead of oauth2_client within the database itself.
I've gone through and manually set the db_table to what it would be in 1.6 and am still getting the serialization error on the fixture because oauth2 doesn't exist as an application.
Its not clear if the solution is to make it act like 1.6 in these cases or to better document the compatibility difference.