Commits

George Notaras committed 6f56269

Added ``simple_slugify_lower()`` function.

Comments (0)

Files changed (1)

src/primary_slug/utils.py

         attr = getattr(instance, field.populate_from)
         return callable(attr) and attr() or attr
 
+
 def simple_slugify(data):
+    return data.replace(' ', '-')
+
+def simple_slugify_lower(data):
     return data.lower().replace(' ', '-')