Browse Source

Always use unicode when generating slug.

Ralfp 12 years ago
parent
commit
95f8bbd8eb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      misago/utils/strings.py

+ 1 - 0
misago/utils/strings.py

@@ -7,6 +7,7 @@ except ImportError:
     use_unidecode = False
 
 def slugify(string):
+    string = unicode(string)
     if use_unidecode:
         string = unidecode(string)
     return django_slugify(string)