Fixing import error that shows up under Django 1.5