Import books with either a rating or a review.

This commit is contained in:
Adam Kelly 2020-04-02 10:26:50 +01:00
parent 5bcf65a8a1
commit b5a5a63e88

View file

@ -364,7 +364,7 @@ def import_data(request):
encoding=request.encoding)):
if item.book:
results.append(item)
if item.rating:
if item.rating or item.review:
reviews.append(item)
else:
failures.append(item)