diff options
author | Val Neekman <val@neekware.com> | 2013-04-24 10:27:06 -0400 |
---|---|---|
committer | Val Neekman <val@neekware.com> | 2013-04-24 10:27:06 -0400 |
commit | e951142f77402cd4e0bdca69ea4aea5bb466c310 (patch) | |
tree | 26369e90d4a53ac5ff6807ef4833ff16a4a8e4a3 /README.md | |
parent | a4c78fab0157d7da3ed77ca8b2f98cd0dbac5bf2 (diff) | |
download | python-slugify-e951142f77402cd4e0bdca69ea4aea5bb466c310.tar.gz |
added non-dash separator option0.0.4
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -75,6 +75,13 @@ How to use r = slugify(txt, max_length=20, word_boundary=True) self.assertEquals(r, "jaja-lol-mememeoo-a") + txt = 'jaja---lol-méméméoo--a' + r = slugify(txt, max_length=20, word_boundary=True, separator=".") + self.assertEquals(r, "jaja.lol.mememeoo.a") + + txt = 'jaja---lol-méméméoo--a' + r = slugify(txt, max_length=20, word_boundary=True, separator="ZZZZZZ") + self.assertEquals(r, "jajaZZZZZZlolZZZZZZmememeooZZZZZZa") Running the tests ================= @@ -86,9 +93,13 @@ To run the tests against the current environment: Changelog ========= +0.0.4 +----- +* Added option to add a non-dash separator (feature request by: danilodimoia) + 0.0.3 ----- -* Added the ability to truncate slugs + tests (viva Juan Riaza of Spain) +* Added the ability to truncate slugs + tests (feature request by: Juan Riaza of Spain) 0.0.2 ----- @@ -103,7 +114,7 @@ Changelog License ======= -Copyright © Val Neekman +Copyright © Val Neekman (Neekware Inc.) All rights reserved. |