Fixed silly bugs in slugifyfield and added new fields
This commit is contained in:
parent
4db3c91924
commit
44e3fe474f
4 changed files with 36 additions and 5 deletions
|
|
@ -54,7 +54,7 @@ def slugify(str_in, respect_upper=False, replace_space='-', replace_dot=False, r
|
|||
str_out=str_out.replace(" ", replace_space)
|
||||
|
||||
if respect_upper==False:
|
||||
pass
|
||||
str_out=str_out.lower()
|
||||
|
||||
return str_out
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue