aboutsummaryrefslogtreecommitdiffstats
path: root/jm2l/models.py
diff options
context:
space:
mode:
authortr4ck3ur <tr4ck3ur@style-python.fr>2015-02-20 17:44:56 +0100
committertr4ck3ur <tr4ck3ur@style-python.fr>2015-02-20 17:44:56 +0100
commite6beb8f49622c3cb14ca47916638b6ac91a7b944 (patch)
tree0c6e0554b9fcc03ffd33dfddd3fd2700c6f66623 /jm2l/models.py
parent976ec7ddc556092f7ffbe09b067cc98e6c8d5196 (diff)
downloadjm2l-e6beb8f49622c3cb14ca47916638b6ac91a7b944.tar.gz
jm2l-e6beb8f49622c3cb14ca47916638b6ac91a7b944.tar.bz2
jm2l-e6beb8f49622c3cb14ca47916638b6ac91a7b944.tar.xz
jm2l-e6beb8f49622c3cb14ca47916638b6ac91a7b944.zip
Fix tasks issue after update,
Fix upload button name Added link task and taskarea
Diffstat (limited to 'jm2l/models.py')
-rw-r--r--jm2l/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/jm2l/models.py b/jm2l/models.py
index 2500af9..9e33644 100644
--- a/jm2l/models.py
+++ b/jm2l/models.py
@@ -60,6 +60,7 @@ class Tasks(Base):
closed = Column(Integer, default=0)
name = Column(Unicode(80))
description = Column(UnicodeText)
+ area = relationship(TasksArea, backref=backref("tasks") )
@classmethod
def by_id(cls, id):