Update dummy_data.py

This commit is contained in:
Miupro 2021-10-31 06:36:00 +01:00
parent 85a7b13ac6
commit 0c6b8bc14b

View File

@ -5,7 +5,7 @@ def populate_data(Users, Events):
Events.add_event(
id = 1,
name = "Polyhack 2021",
location_name = 'Polyhack',
location_name = 'SPH Zentrum, Zürich',
location_coordinates = [46.3667, 7.445683],
date = datetime.date.today() - datetime.timedelta(days=100),
description = "Be part of Switzerland's most fun and personal hackathon experience!"
@ -47,7 +47,7 @@ def populate_data(Users, Events):
name = "Hike at Oeschinen Lake",
location_name = 'Oeschinen Lake',
location_coordinates = [46.492331364, 7.722830442],
date = datetime.date.today(days=20),
date = datetime.date.today(),
description = "Take a hike around the beautiful scenery around the Oeschinen Lake."
)
Events.add_event(
@ -55,7 +55,7 @@ def populate_data(Users, Events):
name = "Hike at Aletschglacier",
location_name = 'Aletschglacier',
location_coordinates = [46.438664912, 8.072999708],
date = datetime.date.today(days=20),
date = datetime.date.today(),
description = "Be adventurous by hiking the largest Glacier of the Alps."
)
Events.add_event(
@ -63,7 +63,7 @@ def populate_data(Users, Events):
name = "Ski at Engelberg",
location_name = 'Engelberg',
location_coordinates = [46.82107, 8.40133],
date = datetime.date.today(days=10),
date = datetime.date.today(),
description = "Enjoy a Ski weekend at the Engelberg Ski Resort."
)
Events.add_event(
@ -71,7 +71,7 @@ def populate_data(Users, Events):
name = "City Tour Davos",
location_name = 'Davos',
location_coordinates = [46.80429, 9.83723],
date = datetime.date.today(days=10),
date = datetime.date.today(),
description = "See the winter wonderous municipality Davos in East Switzerland."
)
Events.add_event(