Commit 31e49bf35bbd00a0fdbbc90bdf0fcf994e3e9c64
1 parent
e0dc6a6c
Exists in
master
and in
29 other branches
Renamed ColabProxiedAppConfig to ColabPluginAppConfig
Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
Showing
5 changed files
with
10 additions
and
10 deletions
Show diff stats
colab/plugins/gitlab/apps.py
1 | 1 | |
2 | -from ..utils.apps import ColabProxiedAppConfig | |
2 | +from ..utils.apps import ColabPluginAppConfig | |
3 | 3 | from colab.plugins.gitlab.tasks import handling_method |
4 | 4 | from colab.signals.signals import register_signal, connect_signal |
5 | 5 | |
6 | 6 | |
7 | -class ProxyGitlabAppConfig(ColabProxiedAppConfig): | |
7 | +class ProxyGitlabAppConfig(ColabPluginAppConfig): | |
8 | 8 | name = 'colab.plugins.gitlab' |
9 | 9 | verbose_name = 'Gitlab Plugin' |
10 | 10 | short_name = 'gitlab' | ... | ... |
colab/plugins/mezuro/apps.py
colab/plugins/noosfero/apps.py
1 | 1 | |
2 | -from ..utils.apps import ColabProxiedAppConfig | |
2 | +from ..utils.apps import ColabPluginAppConfig | |
3 | 3 | |
4 | 4 | |
5 | -class ProxyNoosferoAppConfig(ColabProxiedAppConfig): | |
5 | +class ProxyNoosferoAppConfig(ColabPluginAppConfig): | |
6 | 6 | name = 'colab.plugins.noosfero' |
7 | 7 | verbose_name = 'Noosfero Proxy' | ... | ... |
colab/plugins/utils/apps.py
docs/source/plugindev.rst
... | ... | @@ -43,16 +43,16 @@ signals structure, some steps are required: |
43 | 43 | * With signals registered and handling method defined you must connect them. |
44 | 44 | To do it you must call connect_signal passing signal name, sender and handling |
45 | 45 | method as arguments. These should be implemented on plugin's apps.py. It must |
46 | - be said that the plugin app class must extend ColabProxiedAppConfig. An | |
46 | + be said that the plugin app class must extend ColabPluginAppConfig. An | |
47 | 47 | example of this configuration can be seen below: |
48 | 48 | |
49 | 49 | |
50 | 50 | .. code-block:: python |
51 | - from colab.plugins.utils.apps import ColabProxiedAppConfig | |
51 | + from colab.plugins.utils.apps import ColabPluginAppConfig | |
52 | 52 | from colab.signals.signals import register_signal, connect_signal |
53 | 53 | from colab.plugins.PLUGIN.tasks import HANDLING_METHOD |
54 | 54 | |
55 | - class PluginApps(ColabProxiedAppConfig): | |
55 | + class PluginApps(ColabPluginAppConfig): | |
56 | 56 | short_name = PLUGIN_NAME |
57 | 57 | signals_list = [SIGNAL1, SIGNAL2] |
58 | 58 | ... | ... |