|
|
@ -26,32 +26,28 @@ def populate_data():
|
|
|
|
"description": "Description A",
|
|
|
|
"description": "Description A",
|
|
|
|
"location": [48.858296, 2.294526],
|
|
|
|
"location": [48.858296, 2.294526],
|
|
|
|
"files": ["file_a"],
|
|
|
|
"files": ["file_a"],
|
|
|
|
"owner": str(user1_id),
|
|
|
|
"user_id": str(user1_id)
|
|
|
|
"created_at": datetime.utcnow()
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"title": f"Mont St Michel",
|
|
|
|
"title": f"Mont St Michel",
|
|
|
|
"description": "Description B",
|
|
|
|
"description": "Description B",
|
|
|
|
"location": [48.636111, -1.511389],
|
|
|
|
"location": [48.636111, -1.511389],
|
|
|
|
"files": ["file_b"],
|
|
|
|
"files": ["file_b"],
|
|
|
|
"owner": str(user1_id),
|
|
|
|
"user_id": str(user1_id)
|
|
|
|
"created_at": datetime.utcnow()
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"title": f"Eiffel Tower",
|
|
|
|
"title": f"Eiffel Tower",
|
|
|
|
"description": "Description X",
|
|
|
|
"description": "Description X",
|
|
|
|
"location": [48.858296, 2.294526],
|
|
|
|
"location": [48.858296, 2.294526],
|
|
|
|
"files": ["file_x"],
|
|
|
|
"files": ["file_x"],
|
|
|
|
"owner": str(user2_id),
|
|
|
|
"user_id": str(user2_id)
|
|
|
|
"created_at": datetime.utcnow()
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"title": f"Mont Saint Michel",
|
|
|
|
"title": f"Mont Saint Michel",
|
|
|
|
"description": "Description Y",
|
|
|
|
"description": "Description Y",
|
|
|
|
"location": [48.636111, -1.511389],
|
|
|
|
"location": [48.636111, -1.511389],
|
|
|
|
"files": ["file_y"],
|
|
|
|
"files": ["file_y"],
|
|
|
|
"owner": str(user2_id),
|
|
|
|
"user_id": str(user2_id)
|
|
|
|
"created_at": datetime.utcnow()
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
])
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
|
|