summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2018-12-11 18:25:04 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2018-12-11 18:25:04 (GMT)
commit866b37a147f70a6f006c9c04b562dc6085dac221 (patch)
tree38184d399b2c52de195ba853c312ea32482942cb
parentf114291004c2fdcb4952a68ead2cf89d8f75072b (diff)
downloadwelco-866b37a147f70a6f006c9c04b562dc6085dac221.zip
welco-866b37a147f70a6f006c9c04b562dc6085dac221.tar.gz
welco-866b37a147f70a6f006c9c04b562dc6085dac221.tar.bz2
misc: port django 1.11 ckeditor support late changes (#28864)v0.66
-rw-r--r--welco/__init__.py3
-rw-r--r--welco/kb/__init__.py17
-rw-r--r--welco/kb/apps.py23
3 files changed, 40 insertions, 3 deletions
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 <http://www.gnu.org/licenses/>.
-
-
-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 <http://www.gnu.org/licenses/>.
+
+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 <http://www.gnu.org/licenses/>.
+
+from django.apps import AppConfig
+
+class KbAppConfig(AppConfig):
+ name = 'welco.kb'
+
+ def ready(self):
+ import welco.monkeypatch