mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-05 06:08:46 -05:00
extremly innefficent WIP
This commit is contained in:
@@ -826,10 +826,7 @@ class RecipeViewSet(viewsets.ModelViewSet):
|
||||
'steps__ingredients__food__onhand_users',
|
||||
'steps__ingredients__food__substitute',
|
||||
'steps__ingredients__food__child_inherit_fields',
|
||||
# 'steps__ingredients__food__foodnutrition_set',
|
||||
# 'steps__ingredients__food__foodnutrition_set__food',
|
||||
# 'steps__ingredients__food__foodnutrition_set__food_unit',
|
||||
# 'steps__ingredients__food__foodnutrition_set__nutrition_type',
|
||||
|
||||
'steps__ingredients__unit',
|
||||
'steps__ingredients__unit__unit_conversion_base_relation',
|
||||
'steps__ingredients__unit__unit_conversion_base_relation__base_unit',
|
||||
|
||||
@@ -452,4 +452,3 @@ def test(request):
|
||||
def test2(request):
|
||||
if not settings.DEBUG:
|
||||
return HttpResponseRedirect(reverse('index'))
|
||||
FoodPropertyHelper(request.space).generate_debug_recipe()
|
||||
|
||||
Reference in New Issue
Block a user