Refactor templates and utility functions for improved rendering and usability; enhance icon usage and link handling in various templates
This commit is contained in:
parent
b68c25a05a
commit
3915b97231
12 changed files with 102 additions and 90 deletions
2
utils.py
2
utils.py
|
@ -12,7 +12,7 @@ def eager_load_inventory_relationships(query):
|
|||
joinedload(Inventory.owner),
|
||||
joinedload(Inventory.brand),
|
||||
joinedload(Inventory.item),
|
||||
joinedload(Inventory.location).joinedload(Room.room_function)
|
||||
selectinload(Inventory.location).selectinload(Room.room_function)
|
||||
)
|
||||
|
||||
def eager_load_room_relationships(query):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue