remove unused imports, vairables and commented code

from views, and base cookbook and recipes modules
This commit is contained in:
smilerz
2023-09-13 13:31:53 -05:00
parent 1f0cd58d7d
commit 538fb8b42e
15 changed files with 41 additions and 151 deletions

View File

@ -1,4 +1,3 @@
from decimal import Decimal
from functools import wraps
from django.conf import settings
@ -13,8 +12,8 @@ from django_scopes import scope, scopes_disabled
from cookbook.helper.cache_helper import CacheHelper
from cookbook.helper.shopping_helper import RecipeShoppingEditor
from cookbook.managers import DICTIONARY
from cookbook.models import (Food, FoodInheritField, Ingredient, MealPlan, Recipe,
ShoppingListEntry, Step, UserPreference, SearchPreference, SearchFields, Unit, PropertyType)
from cookbook.models import (Food, MealPlan, PropertyType, Recipe, SearchFields, SearchPreference,
Step, Unit, UserPreference)
SQLITE = True
if settings.DATABASES['default']['ENGINE'] in ['django.db.backends.postgresql_psycopg2',