fix recipeimport

This commit is contained in:
Tobias Lindenberg 2021-01-10 13:28:57 +01:00
parent afc7718c95
commit 4dad26102a

View File

@ -9,12 +9,11 @@ from django.utils.translation import gettext as _
from django.views.generic import CreateView from django.views.generic import CreateView
from cookbook.forms import (ImportRecipeForm, InviteLinkForm, KeywordForm, from cookbook.forms import (ImportRecipeForm, InviteLinkForm, KeywordForm,
MealPlanForm, RecipeBookForm, RecipeImport, MealPlanForm, RecipeBookForm, Storage, StorageForm)
Storage, StorageForm)
from cookbook.helper.permission_helper import (GroupRequiredMixin, from cookbook.helper.permission_helper import (GroupRequiredMixin,
group_required) group_required)
from cookbook.models import (InviteLink, Keyword, MealPlan, MealType, Recipe, from cookbook.models import (InviteLink, Keyword, MealPlan, MealType, Recipe,
RecipeBook, ShareLink, Step) RecipeBook, RecipeImport, ShareLink, Step)
class RecipeCreate(GroupRequiredMixin, CreateView): class RecipeCreate(GroupRequiredMixin, CreateView):