예제 #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
파일: loaddb.py 프로젝트: alex0531/-Manage
def addMessage(user, email1, content, time1):
    """adds message to db"""
    tempMessage = Message(user = user, emailaddress = email1, content = content, time1 = time1)
    tempMessage.save()