Modify import statement to support Django 1.6

Unfortunately this change is not backward compatible.