Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Automatic linting

Github-actionscb1a0d414b0d
diff --git a/wger/nutrition/api/filtersets.py b/wger/nutrition/api/filtersets.py
index e61608687..601f6c8d9 100644
--- a/wger/nutrition/api/filtersets.py
+++ b/wger/nutrition/api/filtersets.py
@@ -29,7 +29,6 @@ class IngredientFilterSet(filters.FilterSet):
'code': ['exact'],
'source_name': ['exact'],
'name': ['exact'],
-
'energy': ['exact'],
'protein': ['exact'],
'carbohydrates': ['exact'],
@@ -38,11 +37,9 @@ class IngredientFilterSet(filters.FilterSet):
'fat_saturated': ['exact'],
'fiber': ['exact'],
'sodium': ['exact'],
-
'created': ['exact', 'gt', 'lt'],
'last_update': ['exact', 'gt', 'lt'],
'last_imported': ['exact', 'gt', 'lt'],
-
'language': ['exact'],
'license': ['exact'],
'license_author': ['exact'],