Пример #1
0
def addMessage(user, email1, content, time1, underscorename):
    """adds message to db"""
    tempMessage = Message(user=user, emailaddress=email1, content=content, time1=time1, underscorename=underscorename)
    tempMessage.save()
Пример #2
0
def addMessage(user, email1, content, time1):
    """adds message to db"""
    tempMessage = Message(user = user, emailaddress = email1, content = content, time1 = time1)
    tempMessage.save()