Update dummy_data.py

This commit is contained in:
Miupro 2021-10-31 06:59:12 +01:00
parent 6c7051cadd
commit 600034b85b

View File

@ -96,5 +96,5 @@ def populate_data(Users, Events):
u = Users.get_by_id(239842123)
for e in Events[2:5]:
e.add_review(text="Nice view, good weather. Would recommend.", rating=random.randint(0,5))
e.add_review(text="Nice view, good weather. Would recommend.", rating=random.randint(4,5))
u.travel_history.append(e)