#8391: Results of slugify in the admin interface differ from the one in shell.
---------------------------+------------------------------------------------
 Reporter:  bjornkri       |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  SVN       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 Going through the admin interface with a slug field, 'bøøøø' becomes
 'boooo' (as expected)

 But running this code:
 from django.template.defaultfilters import slugify

 print slugify('bøøøø')
 print slugify(u'bøøøø')

 results in:
 'b'
 'ba-a-a-a'

 Results vary depending on which characters are used; I found this trying
 to inject a bunch of cyrillic and greek into a database, and most of the
 slug fields were empty. Entering them manually through the admin interface
 worked fine.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8391>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to