From 866b37a147f70a6f006c9c04b562dc6085dac221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 11 Dec 2018 19:25:04 +0100 Subject: [PATCH] misc: port django 1.11 ckeditor support late changes (#28864) --- welco/__init__.py | 3 --- welco/kb/__init__.py | 17 +++++++++++++++++ welco/kb/apps.py | 23 +++++++++++++++++++++++ 3 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 welco/kb/apps.py diff --git a/welco/__init__.py b/welco/__init__.py index 9b88209..adda67f 100644 --- a/welco/__init__.py +++ b/welco/__init__.py @@ -13,6 +13,3 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . - - -import welco.monkeypatch diff --git a/welco/kb/__init__.py b/welco/kb/__init__.py index e69de29..06dc027 100644 --- a/welco/kb/__init__.py +++ b/welco/kb/__init__.py @@ -0,0 +1,17 @@ +# welco - multichannel request processing +# Copyright (C) 2015-2018 Entr'ouvert +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +default_app_config = 'welco.kb.apps.KbAppConfig' diff --git a/welco/kb/apps.py b/welco/kb/apps.py new file mode 100644 index 0000000..4aebdc0 --- /dev/null +++ b/welco/kb/apps.py @@ -0,0 +1,23 @@ +# welco - multichannel request processing +# Copyright (C) 2015-2018 Entr'ouvert +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +from django.apps import AppConfig + +class KbAppConfig(AppConfig): + name = 'welco.kb' + + def ready(self): + import welco.monkeypatch