You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>>fromslugifyimportslugify>>>text='Это против природы, это неестественно'>>>slugify(text)
When i running this code, i get an exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/path_to_the_project/venv/lib/python3.7/site-packages/slugify.py", line 24, in slugify
unicode(
NameError: name 'unicode' is not defined
I use Python 3.7.7 on MacOS darwin.
The text was updated successfully, but these errors were encountered:
from slugify import slugify
text = 'Это против природы, это неестественно'
slugify(text, allow_unicode=True)
'это-против-природы-это-неестественно'
slugify(text, allow_unicode=False)
'eto-protiv-prirody-eto-neestestvenno'
Hello!
I try your library with this code:
When i running this code, i get an exception:
I use Python 3.7.7 on MacOS darwin.
The text was updated successfully, but these errors were encountered: