mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 21:37:49 -05:00
fixed various space related bugs
This commit is contained in:
@@ -103,7 +103,8 @@ def create_new_external_recipe(request, import_id):
|
||||
|
||||
recipe.save()
|
||||
|
||||
recipe.keywords.set(form.cleaned_data['keywords'])
|
||||
if form.cleaned_data['keywords']:
|
||||
recipe.keywords.set(form.cleaned_data['keywords'])
|
||||
|
||||
new_recipe.delete()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user