taskapp/utilities/helper.py
changeset 119 39ab7c460143
equal deleted inserted replaced
118:5bbb29a07b87 119:39ab7c460143
       
     1 import string,random
       
     2 
       
     3 def get_key():
       
     4     """ return a 10 character random key.
       
     5     """
       
     6     
       
     7     return ''.join([ random.choice(string.uppercase+string.digits) for i in range(10)])
       
     8