taskapp/utilities/helper.py
author nishanth
Thu, 04 Mar 2010 19:08:47 +0530
changeset 205 0c317f68df49
parent 119 39ab7c460143
permissions -rw-r--r--
ditchaxed the claims model.

import string,random

def get_key():
    """ return a 10 character random key.
    """
    
    return ''.join([ random.choice(string.uppercase+string.digits) for i in range(10)])