def METHOD_NAME(module):
    try:
        token_salt = TokenSalt.objects.get(module=module)
    except TokenSalt.DoesNotExist:
        token_salt = TokenSalt.objects.create(module=module)
    return token_salt.salt