consolidate find api requests, all subrequest are also find with other options, add positions request via ids
This commit is contained in:
parent
ec7aa8a388
commit
cf19fb16b8
3 changed files with 74 additions and 90 deletions
|
|
@ -931,7 +931,7 @@ class Review(models.Model):
|
|||
if q.count() > 0:
|
||||
o = q[0]
|
||||
else:
|
||||
o = self.objects.create(movie=movie, url=g)
|
||||
o = self.objects.create(movie=movie, url=url)
|
||||
o.save()
|
||||
return o
|
||||
get_or_create = classmethod(get_or_create)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue