From b0b50d65f542d744fb1fc197076505cb20dd19ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hallet?= Date: Wed, 18 Aug 2021 12:39:18 +0200 Subject: [PATCH] Don't refer to files that exists no more Version 4.0.4 deleted these files but they were still refered to in _media function --- froala_editor/widgets.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/froala_editor/widgets.py b/froala_editor/widgets.py index 3e1893e9..cf18b5d2 100644 --- a/froala_editor/widgets.py +++ b/froala_editor/widgets.py @@ -76,10 +76,9 @@ def trigger_froala(self, el_id, options): def _media(self): css = { - 'all': ('froala_editor/css/froala_editor.min.css', 'froala_editor/css/froala_style.min.css', - 'froala_editor/css/froala-django.css') + 'all': ('froala_editor/css/froala_editor.min.css', 'froala_editor/css/froala_style.min.css',) } - js = ('froala_editor/js/froala_editor.min.js', 'froala_editor/js/froala-django.js',) + js = ('froala_editor/js/froala_editor.min.js',) if self.theme: css['all'] += ('froala_editor/css/themes/' + self.theme + '.min.css',)