Skip to content
Snippets Groups Projects
Commit d5af0eda authored by thomaswoehlke's avatar thomaswoehlke
Browse files

work

parent d5e95950
No related branches found
No related tags found
1 merge request!162Refactoring 2021 05 20 start
......@@ -152,7 +152,7 @@ class WhoData(BlueprintFactTable):
)
def __repr__(self):
return "%s(%s %s)" % (self.__class__.__name__, self.date_reported_id, self.location_id)
return "%s(%s %s)" % (self.__class__.__name__, self.date_reported.__repr__(), self.location.__repr__())
id = db.Column(db.Integer, primary_key=True)
date_reported_id = db.Column(db.Integer, db.ForeignKey('who_date_reported.id'), nullable=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment