Django 1.6 compatibility fixes (import location changes)

Django 1.6 compatibility fixes