#11157: slugify and admin javascript URLify function produce different strings ----------------------------------+----------------------------------------- Reporter: keeperofkeys | Owner: nobody Status: new | Milestone: Component: django.contrib.admin | Version: 1.1-beta-1 Keywords: slug | Stage: Unreviewed Has_patch: 0 | ----------------------------------+----------------------------------------- The javascript used by the admin to autogenerate slugs, URLify() in django.contrib.admin.media.js, removes certain words from the string before converting spaces to dashes. But django.template.defaultfilters.slugify leaves all words intact.
eg 'Working at home' -> 'working-home' using the admin js and 'working-at- home' using slugify. Personally I prefer the latter but, whichever way round, the two filters ought to behave the same, as their functionality is meant to be interchangeable. -- Ticket URL: <http://code.djangoproject.com/ticket/11157> Django <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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---