Corrected depricated import that was removed in Django 1.6.