Fixed silly bugs in slugifyfield and added new fields

This commit is contained in:
Antonio de la Rosa 2016-01-20 03:51:37 +01:00
parent 4db3c91924
commit 44e3fe474f
4 changed files with 36 additions and 5 deletions

View file

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