import slugify from django.utils.text

Since Django 1.5, django.utils.text is the more official residence of slugify.