Applying fixes for contenttypes in multi-DB setups from https://code.djangoproject.com/ticket/15610