Update deprecated imports with Django >= 1.7