Commit dc06417c authored by Kristian Tan's avatar Kristian Tan

filter by date not id

parent 694ca29e
......@@ -29,7 +29,7 @@ class DailyUsage(db.Model):
self.hours = hours
def __repr__(self):
return '<DailyUsage %r>' % self.id
return '<DailyUsage %r>' % self.date
db.create_all()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment