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()
def addMessage(user, email1, content, time1): """adds message to db""" tempMessage = Message(user = user, emailaddress = email1, content = content, time1 = time1) tempMessage.save()