Adds mooli_id and resource relation to Release.

This commit is contained in:
alshain
2011-02-11 00:57:58 +01:00
parent 5374b633a6
commit 59f84df52f

View File

@@ -23,6 +23,8 @@ class Release(Entity):
"""Logically groups all files that belong to a certain release, such as
parts of a movie, subtitles, nfo, trailers etc."""
files = OneToMany('File')
mooli_id = Field(Integer)
resource = ManyToOne('Resource')
class File(Entity):