Fixed typo in django/contrib/admin/static/admin/js/urlify.js.
This commit is contained in:
parent
068a80d717
commit
aed97bc222
|
@ -142,7 +142,7 @@
|
|||
|
||||
|
||||
function URLify(s, num_chars, allowUnicode) {
|
||||
// changes, e.g., "Petty theft" to "petty_theft"
|
||||
// changes, e.g., "Petty theft" to "petty-theft"
|
||||
// remove all these words from the string before urlifying
|
||||
if (!allowUnicode) {
|
||||
s = downcode(s);
|
||||
|
|
Loading…
Reference in New Issue