From 74140334957874474740eccdbaea2bf756fe61e4 Mon Sep 17 00:00:00 2001 From: Patrick Pirker Date: Wed, 3 Mar 2021 21:37:39 +0100 Subject: [PATCH] Allow recipes to be imported from json directly --- cookbook/templates/url_import.html | 30 +++++++++++++++++++++--- cookbook/urls.py | 3 ++- cookbook/views/api.py | 37 ++++++++++++++++++------------ 3 files changed, 51 insertions(+), 19 deletions(-) diff --git a/cookbook/templates/url_import.html b/cookbook/templates/url_import.html index 858e09581..c6f90af8e 100644 --- a/cookbook/templates/url_import.html +++ b/cookbook/templates/url_import.html @@ -88,6 +88,19 @@ id="id_btn_app"> {% trans 'Import' %} + +
+
+
+ +
+ +
+
+
+