diff --git a/patches/Fix-autogenerated-slugs.patch b/patches/Fix-autogenerated-slugs.patch deleted file mode 100644 index 15818d2..0000000 --- a/patches/Fix-autogenerated-slugs.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 35449e448200598d5b002d8e55ab8ece9ede0217 Mon Sep 17 00:00:00 2001 -From: Donald Buczek -Date: Sun, 23 Aug 2020 21:17:21 +0200 -Subject: [PATCH] Fix autogenerated slugs - -Fix bug in wagtail_modeltranslation which disables the autogeneration of -slugs. - -See https://github.com/infoportugal/wagtail-modeltranslation/issues/293 ---- - .../site-packages/wagtail_modeltranslation/wagtail_hooks.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/python3.7/site-packages/wagtail_modeltranslation/wagtail_hooks.py b/lib/python3.7/site-packages/wagtail_modeltranslation/wagtail_hooks.py -index 1bbff88..3b3d61f 100644 ---- a/lib/python3.7/site-packages/wagtail_modeltranslation/wagtail_hooks.py -+++ b/lib/python3.7/site-packages/wagtail_modeltranslation/wagtail_hooks.py -@@ -54,7 +54,7 @@ def translated_slugs(): - languages: [{languages}], - defaultLanguage: '{language_code}', - viewEditString: '{view_edit_string}', -- translate_slugs: '{translate_slugs}', -+ translate_slugs: {translate_slugs}, - }}; - - """.format( --- -2.26.2 -