taskapp/utilities/helper.py
author nishanth
Mon, 01 Mar 2010 05:18:44 +0530
changeset 158 c43e0114e593
parent 119 39ab7c460143
permissions -rw-r--r--
removing user deletes all the pending requests that request giving him pynts.

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