taskapp/utilities/helper.py
author Nishanth Amuluru <nishanth@fossee.in>
Wed, 05 Jan 2011 23:51:10 +0530
changeset 220 807e4b701a20
parent 119 39ab7c460143
permissions -rw-r--r--
added a submit_report link for each task

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