Fix import that breaks following removal of depcrecated module in Django 1.6