From 5374b633a6ac9272ba69df01380380708e60756e Mon Sep 17 00:00:00 2001 From: alshain Date: Fri, 11 Feb 2011 00:56:58 +0100 Subject: [PATCH] Adds releases relation to Resource. --- couchpotato/model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/couchpotato/model.py b/couchpotato/model.py index fc917b29..98800983 100644 --- a/couchpotato/model.py +++ b/couchpotato/model.py @@ -16,6 +16,7 @@ class Resource(Entity): offline.""" name = Field(UnicodeString(255)) path = Field(UnicodeString(255)) + releases = OneToMany('Release') class Release(Entity):