Commit 615fb1c3 authored by Kristian Tan's avatar Kristian Tan

inserts

parent 5aa27570
......@@ -72,7 +72,12 @@ def create_entry(change_pin):
pins[change_pin]['on_date'] = None
db.session.add(DailyUsage(date(2019, 11, 17), 8.9))
db.session.add(DailyUsage(date(2019, 11, 16), 10.2))
db.session.add(DailyUsage(date(2019, 11, 15), 9.3))
db.session.add(DailyUsage(date(2019, 11, 14), 12.5))
db.session.add(DailyUsage(date(2019, 11, 13), 9.9))
db.session.add(DailyUsage(date(2019, 11, 12), 11.2))
db.session.add(DailyUsage(date(2019, 11, 10), 10))
def generate_graph_data():
labels = []
......
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