Esempio n. 1
0
def createSpecialWordMap(request_user, rType, privWord, wordLength):
    pubWord = '^' * wordLength
    wMap = WordMap(owner=request_user,
                   wordType=rType,
                   privWord=privWord,
                   pubWord=pubWord)
    wMap.save()
    return (wMap, pubWord)
Esempio n. 2
0
def createWordMap(request_user, rType, privWord):
    pubWord = convertWordToSymbols(privWord)
    wMap = WordMap(owner=request_user,
                   wordType=rType,
                   privWord=privWord,
                   pubWord=pubWord)
    wMap.save()
    return (wMap, pubWord)
Esempio n. 3
0
def createSpecialWordMap(request_user, rType, privWord, wordLength):
    pubWord = '^'*wordLength
    wMap = WordMap(owner=request_user, wordType=rType, privWord=privWord, pubWord=pubWord)
    wMap.save()
    return (wMap, pubWord)
Esempio n. 4
0
def createWordMap(request_user, rType, privWord):
    pubWord = convertWordToSymbols(privWord)
    wMap = WordMap(owner=request_user, wordType=rType, privWord=privWord, pubWord=pubWord)
    wMap.save()
    return (wMap, pubWord)