Monkey patched User model. Poller js is templated. Plus minor changes
[flowspy] / utils / randomizer.py
diff --git a/utils/randomizer.py b/utils/randomizer.py
new file mode 100644 (file)
index 0000000..bfb0854
--- /dev/null
@@ -0,0 +1,5 @@
+import string
+import random
+
+def id_generator(size=6, chars=string.ascii_uppercase + string.digits):
+    return ''.join(random.choice(chars) for x in range(size))