fix
This commit is contained in:
parent
2b0fc51b8b
commit
b853793bbb
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ from models.Course import Course
|
|||
|
||||
class Message(db.Model):
|
||||
groupId = db.IntegerProperty(required=True)
|
||||
message = db.StringProperty(required=True)
|
||||
message = db.StringProperty(required=True, multiline=True)
|
||||
msgDate = db.DateTimeProperty(required=True)
|
||||
master_id = db.IntegerProperty(required=True)
|
||||
isProject = db.BooleanProperty(default=False)
|
||||
|
|
|
@ -15,7 +15,7 @@ class Task(db.Model):
|
|||
data = {'title' : self.title,
|
||||
'courseId' : self.courseId,
|
||||
'description' : self.description,
|
||||
'dueDate' : {
|
||||
'dueDate' : {
|
||||
'year': self.dueDate.year,
|
||||
'month': self.dueDate.month,
|
||||
'day': self.dueDate.day
|
||||
|
|
Loading…
Reference in a new issue