taskapp/utilities/helper.py
author anoop
Mon, 08 Mar 2010 16:30:35 +0530
changeset 209 f34052de27f5
parent 119 39ab7c460143
permissions -rw-r--r--
email address displayed was incorrect, fixed it.

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)])