sort views imports

This commit is contained in:
Tobias Lindenberg
2021-01-10 11:55:21 +01:00
parent db6fe4256f
commit 4fa6919ca0
9 changed files with 85 additions and 56 deletions

View File

@ -3,15 +3,18 @@ from datetime import datetime
from django.contrib import messages
from django.http import HttpResponseRedirect
from django.shortcuts import render, redirect, get_object_or_404
from django.urls import reverse_lazy, reverse
from django.shortcuts import get_object_or_404, redirect, render
from django.urls import reverse, reverse_lazy
from django.utils.translation import gettext as _
from django.views.generic import CreateView
from cookbook.forms import ImportRecipeForm, RecipeImport, KeywordForm, Storage, StorageForm, InternalRecipeForm, \
RecipeBookForm, MealPlanForm, InviteLinkForm
from cookbook.helper.permission_helper import GroupRequiredMixin, group_required
from cookbook.models import Keyword, Recipe, RecipeBook, MealPlan, ShareLink, MealType, Step, InviteLink
from cookbook.forms import (ImportRecipeForm, InviteLinkForm, KeywordForm,
MealPlanForm, RecipeBookForm, RecipeImport,
Storage, StorageForm)
from cookbook.helper.permission_helper import (GroupRequiredMixin,
group_required)
from cookbook.models import (InviteLink, Keyword, MealPlan, MealType, Recipe,
RecipeBook, ShareLink, Step)
class RecipeCreate(GroupRequiredMixin, CreateView):