diff options
| author | FivePixels <o5pxels@gmail.com> | 2022-05-09 16:43:19 -0500 |
|---|---|---|
| committer | FivePixels <o5pxels@gmail.com> | 2022-05-09 16:43:19 -0500 |
| commit | d1f8adc797c3c6edd63b34d2da734783d9720138 (patch) | |
| tree | c5435dd484cf895277bdf7271af36e2664d9cfd1 /app/routes/basic.py | |
| parent | 5ee44a802512ee98c1330e936e5ec2b3f23659e7 (diff) | |
| download | Strengthy-d1f8adc797c3c6edd63b34d2da734783d9720138.tar.xz Strengthy-d1f8adc797c3c6edd63b34d2da734783d9720138.zip | |
Update records query to return all(), update footer on recent workouts
to include number of recent workouts, programmatically add graphs to
home page
Diffstat (limited to 'app/routes/basic.py')
| -rw-r--r-- | app/routes/basic.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/routes/basic.py b/app/routes/basic.py index b211da7..bd5beb3 100644 --- a/app/routes/basic.py +++ b/app/routes/basic.py @@ -17,6 +17,7 @@ def home(): db.session.query(WorkoutRecord) .filter_by(user_id=current_user.id) .order_by(WorkoutRecord.finished.desc()) + .all() ) # Set records length |
