Opened 7 years ago
Last modified 4 years ago
#28694 closed Cleanup/optimization
django.utils.text.slugify Django slugify correction — at Version 1
Reported by: | Elinaldo do Nascimento Monteiro | Owned by: | nobody |
---|---|---|---|
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 )
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
Note:
See TracTickets
for help on using tickets.