Changes between Version 2 and Version 3 of Ticket #28150


Ignore:
Timestamp:
Apr 28, 2017, 8:37:27 AM (8 years ago)
Author:
Marcos Diez
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28150 – Description

    v2 v3  
    66from django.utils.text import slugify
    77
     8
    89original_value = ('test trial', )
    9 slug = slugify(original_value) # returns "test-trial"
     10slug = slugify(original_value)
     11print(slug) # returns "test-trial"
     12
    1013}}}
    1114
     
    1720from django.utils.text import slugify
    1821
     22
    1923original_value = ('test trial', )
    20 slug = slugify(original_value) # returns "utest-trial"
     24slug = slugify(original_value)
     25print(slug) # returns "utest-trial"
     26
    2127}}}
    2228
Back to Top