In the case of Django < 1.5, fix broken import.