taskapp/utilities/helper.py
author nishanth
Sun, 28 Feb 2010 03:45:28 +0530
changeset 138 c452c699a8af
parent 119 39ab7c460143
permissions -rw-r--r--
now all the pages show number of unread beside requests and notifications link in sidebar.

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