Delete from django.core.urlresolvers import reverse (which is actually in the file twice...).