web/ldt/ldt_utils/utils.py
changeset 41 a5719dcb742a
parent 40 509e30b9f5c9
child 62 39b2dab4f939
--- a/web/ldt/ldt_utils/utils.py	Wed Sep 01 09:50:05 2010 +0200
+++ b/web/ldt/ldt_utils/utils.py	Mon Sep 06 17:00:34 2010 +0200
@@ -31,6 +31,9 @@
     key = str(bool).lower()
     return __BOOLEAN_DICT.get(key, False)
 
+def generate_uuid():
+    return unicode(uuid.uuid1())
+
 class LdtSearch(object):
 
     def query(self, field, query):