Fix broken import in Python 3
Note broken line in Django 1.7