Opened 7 years ago

Last modified 4 years ago

#28694 closed Cleanup/optimization

django.utils.text.slugify Django slugify correction — at Version 4

Reported by: Elinaldo do Nascimento Monteiro Owned by: Elinaldo do Nascimento Monteiro
Component: Utilities Version: dev
Severity: Normal Keywords: slugify, util
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Elinaldo do Nascimento Monteiro)

Bug generation slug

Example:

from django.utils import text
text.slugify("___This is a test ---")
output: ___this-is-a-test-

Improvement after correction

from django.utils import text
text.slugify("___This is a test ---")
output: this-is-a-test

PR

Change History (4)

comment:1 by Elinaldo do Nascimento Monteiro, 7 years ago

Description: modified (diff)

comment:2 by Elinaldo do Nascimento Monteiro, 7 years ago

Owner: changed from nobody to Elinaldo do Nascimento Monteiro
Status: newassigned

comment:3 by Elinaldo do Nascimento Monteiro, 7 years ago

Version: 1.11master

comment:4 by Elinaldo do Nascimento Monteiro, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top