mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 21:37:49 -05:00
cleanup migrations, remove pint to speed up base conversion and calculate properties on converted ingredients
This commit is contained in:
@@ -33,7 +33,7 @@ class FoodPropertyHelper:
|
||||
uch = UnitConversionHelper(self.space)
|
||||
|
||||
for i in ingredients:
|
||||
conversions = [i] # uch.get_conversions(i)
|
||||
conversions = uch.get_conversions(i)
|
||||
for pt in property_types:
|
||||
found_property = False
|
||||
for p in i.food.foodproperty_set.all():
|
||||
|
||||
Reference in New Issue
Block a user