mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Update plugin_api.rst
Import for ModoExtension was needs to be from modoboa.core.extensions.
This commit is contained in:
@@ -41,7 +41,7 @@ Then, you need to register this application using the provided
|
||||
API. Just copy/paste the following example into the :file:`__init__.py` file
|
||||
of the future extension::
|
||||
|
||||
from modoboa.extensions import ModoExtension, exts_pool
|
||||
from modoboa.core.extensions import ModoExtension, exts_pool
|
||||
|
||||
class MyExtension(ModoExtension):
|
||||
name = "myext"
|
||||
|
||||
Reference in New Issue
Block a user