Remove release on new scan

This commit is contained in:
Ruud
2012-12-18 14:14:06 +01:00
parent 8ffa6a8392
commit f7911fe9f3
2 changed files with 29 additions and 6 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ class Release(Entity):
movie = ManyToOne('Movie')
status = ManyToOne('Status')
quality = ManyToOne('Quality')
files = ManyToMany('File', cascade = 'all, delete-orphan', single_parent = True)
files = ManyToMany('File')
info = OneToMany('ReleaseInfo', cascade = 'all, delete-orphan')
def to_dict(self, deep = {}, exclude = []):