mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 21:37:49 -05:00
added export support for recipe sage
This commit is contained in:
@@ -78,7 +78,7 @@ def export_recipe(request):
|
||||
if form.is_valid():
|
||||
try:
|
||||
recipes = form.cleaned_data['recipes']
|
||||
if form['all']:
|
||||
if form.cleaned_data['all']:
|
||||
recipes = Recipe.objects.filter(space=request.space, internal=True).all()
|
||||
integration = get_integration(request, form.cleaned_data['type'])
|
||||
return integration.do_export(recipes)
|
||||
|
||||
Reference in New Issue
Block a user