safron import

This commit is contained in:
vabene1111
2021-02-09 17:34:38 +01:00
parent 6ba1ff4505
commit 46a9d19374
6 changed files with 78 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ from cookbook.integration.default import Default
from cookbook.integration.mealie import Mealie
from cookbook.integration.nextcloud_cookbook import NextcloudCookbook
from cookbook.integration.paprika import Paprika
from cookbook.integration.safron import Safron
from cookbook.models import Recipe
@@ -25,6 +26,8 @@ def get_integration(request, export_type):
return Mealie(request)
if export_type == ImportExportBase.CHOWDOWN:
return Chowdown(request)
if export_type == ImportExportBase.SAFRON:
return Safron(request)
@group_required('user')