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):
|
class Message(db.Model):
|
||||||
groupId = db.IntegerProperty(required=True)
|
groupId = db.IntegerProperty(required=True)
|
||||||
message = db.StringProperty(required=True)
|
message = db.StringProperty(required=True, multiline=True)
|
||||||
msgDate = db.DateTimeProperty(required=True)
|
msgDate = db.DateTimeProperty(required=True)
|
||||||
master_id = db.IntegerProperty(required=True)
|
master_id = db.IntegerProperty(required=True)
|
||||||
isProject = db.BooleanProperty(default=False)
|
isProject = db.BooleanProperty(default=False)
|
||||||
|
|
|
@ -15,7 +15,7 @@ class Task(db.Model):
|
||||||
data = {'title' : self.title,
|
data = {'title' : self.title,
|
||||||
'courseId' : self.courseId,
|
'courseId' : self.courseId,
|
||||||
'description' : self.description,
|
'description' : self.description,
|
||||||
'dueDate' : {
|
'dueDate' : {
|
||||||
'year': self.dueDate.year,
|
'year': self.dueDate.year,
|
||||||
'month': self.dueDate.month,
|
'month': self.dueDate.month,
|
||||||
'day': self.dueDate.day
|
'day': self.dueDate.day
|
||||||
|
|
Loading…
Reference in a new issue