1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fixed typo in django/contrib/admin/static/admin/js/urlify.js.

This commit is contained in:
Pedro Maltez 2015-08-18 15:35:41 +01:00 committed by Tim Graham
parent 068a80d717
commit aed97bc222

View File

@ -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);