Add suppor for auto importing dependecies
- No need to use: from .dependencies import * # NOQA Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -8,7 +8,6 @@ from mayan.apps.common.menus import menu_tools
|
||||
from mayan.apps.navigation.classes import SourceColumn
|
||||
|
||||
from .classes import CeleryQueue, Task
|
||||
from .dependencies import * # NOQA
|
||||
from .links import link_task_manager
|
||||
from .settings import * # NOQA
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from mayan.apps.smart_settings.classes import Namespace
|
||||
|
||||
# Don't import anything on start import, we just want to make it easy
|
||||
# Don't import anything on star import, we just want to make it easy
|
||||
# for apps.py to activate the settings in this module.
|
||||
__all__ = ()
|
||||
namespace = Namespace(label=_('Celery'), name='celery')
|
||||
|
||||
Reference in New Issue
Block a user