Update dummy_data.py
This commit is contained in:
parent
6c7051cadd
commit
600034b85b
@ -96,5 +96,5 @@ def populate_data(Users, Events):
|
|||||||
u = Users.get_by_id(239842123)
|
u = Users.get_by_id(239842123)
|
||||||
|
|
||||||
for e in Events[2:5]:
|
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)
|
u.travel_history.append(e)
|
Loading…
x
Reference in New Issue
Block a user