taskapp/utilities/helper.py
author nishanth
Tue, 02 Mar 2010 14:46:05 +0530
changeset 174 d034cd77cfa6
parent 119 39ab7c460143
permissions -rw-r--r--
added footer to base.html.

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