tons of stuff but working again
This commit is contained in:
@ -118,6 +118,7 @@ def dashboard():
|
||||
|
||||
# Plant totals
|
||||
total_plants = Plant.query.count()
|
||||
total_images = Media.query.count()
|
||||
active_plants = Plant.query.filter_by(is_active=True).count()
|
||||
|
||||
# Top 5 popular plant types
|
||||
@ -153,6 +154,7 @@ def dashboard():
|
||||
referrers=referrers,
|
||||
# Stats
|
||||
total_plants=total_plants,
|
||||
total_images=total_images,
|
||||
active_plants=active_plants,
|
||||
popular_plants=popular_plants,
|
||||
)
|
||||
|
Reference in New Issue
Block a user