Django1.7

Fails with Django 1.7 because of use of User = get_user_model() at the module level. This results in a AppRegistryNotReady exception.