PROBLEM

name ‘unicode’ is not defined

SOLUTION

/opt/mysite/lib/python3.4/site-packages/slugify.py

change return statement to:

return re.sub(r'[-\s]+', '-',
 (re.sub(r'[^\w\s-]', '',string).strip().lower()))