Remove app top level star imports
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -7,8 +7,8 @@ from mayan.apps.acls.classes import ModelPermission
|
||||
from mayan.apps.common.apps import MayanAppConfig
|
||||
from mayan.apps.common.menus import menu_facet, menu_object, menu_secondary
|
||||
from mayan.apps.documents.search import document_page_search, document_search
|
||||
from mayan.apps.events import ModelEventType
|
||||
from mayan.apps.navigation import SourceColumn
|
||||
from mayan.apps.events.classes import ModelEventType
|
||||
from mayan.apps.navigation.classes import SourceColumn
|
||||
|
||||
from .events import (
|
||||
event_document_comment_create, event_document_comment_delete
|
||||
|
||||
@@ -2,15 +2,15 @@ from __future__ import absolute_import, unicode_literals
|
||||
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from mayan.apps.events import EventTypeNamespace
|
||||
from mayan.apps.events.classes import EventTypeNamespace
|
||||
|
||||
namespace = EventTypeNamespace(
|
||||
name='document_comments', label=_('Document comments')
|
||||
label=_('Document comments'), name='document_comments'
|
||||
)
|
||||
|
||||
event_document_comment_create = namespace.add_event_type(
|
||||
name='create', label=_('Document comment created')
|
||||
label=_('Document comment created'), name='create'
|
||||
)
|
||||
event_document_comment_delete = namespace.add_event_type(
|
||||
name='delete', label=_('Document comment deleted')
|
||||
label=_('Document comment deleted'), name='delete'
|
||||
)
|
||||
|
||||
@@ -2,7 +2,7 @@ from __future__ import unicode_literals, absolute_import
|
||||
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from mayan.apps.navigation import Link
|
||||
from mayan.apps.navigation.classes import Link
|
||||
|
||||
from .icons import icon_comment_add, icon_comment_delete, icon_comments_for_document
|
||||
from .permissions import (
|
||||
|
||||
Reference in New Issue
Block a user