Opened 11 years ago

Closed 11 years ago

#11157 closed (wontfix)

slugify and admin javascript URLify function produce different strings

Reported by: keeperofkeys Owned by: nobody
Component: contrib.admin Version: 1.1-beta
Severity: Keywords: slug
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


The javascript used by the admin to autogenerate slugs, URLify() in, 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.

Change History (1)

comment:1 Changed 11 years ago by Chris Beaven

Resolution: wontfix
Status: newclosed

Where does it say their functionality is meant to be interchangeable? I specifically remember Malcolm saying they weren't when closing a similar issue a long time back.

Note: See TracTickets for help on using tickets.
Back to Top