Self hosted FLOSS fitness/workout, nutrition and weight tracker
Automatic linting
Github-actionse612f2d0bb6c
diff --git a/wger/nutrition/models/ingredient.py b/wger/nutrition/models/ingredient.pyindex 2f533fbc4..6a0aa921b 100644--- a/wger/nutrition/models/ingredient.py+++ b/wger/nutrition/models/ingredient.py@@ -59,6 +59,7 @@ from wger.utils.requests import wger_user_agent# Localfrom .ingredient_category import IngredientCategory+logger = logging.getLogger(__name__)diff --git a/wger/urls.py b/wger/urls.pyindex c3f0a9969..9e83e30a9 100644--- a/wger/urls.py+++ b/wger/urls.py@@ -52,6 +52,7 @@ from wger.nutrition.sitemap import NutritionSitemapfrom wger.utils.generic_views import TextTemplateViewfrom wger.weight.api import views as weight_api_views+## REST API#@@ -208,7 +209,9 @@ router.register(## Sitemaps#-sitemaps = {'exercises': ExercisesSitemap, } # 'nutrition': NutritionSitemap}+sitemaps = {+ 'exercises': ExercisesSitemap,+} # 'nutrition': NutritionSitemap}## The actual URLs