Updates required to work on Django 1.7

I mean what I am seeing is you try to delete `loading.cache.app_models[app_name]` and if there's an Attribute error you then try again to delete it?  I'm wondering if line 332 was a typo and you meant to delete something else.