Instead of inserting the path of the apps into the Python app, the apps are now referenced by their full import path. This app name claves with external or native Python libraries. Example: Mayan statistics app vs. Python new statistics library. Every app reference is now prepended with 'mayan.apps'. Existing config.yml files need to be updated manually. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
13 lines
304 B
Python
13 lines
304 B
Python
from __future__ import absolute_import, unicode_literals
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
from mayan.apps.navigation import Menu
|
|
|
|
from .icons import icon_menu_documents
|
|
|
|
menu_documents = Menu(
|
|
icon_class=icon_menu_documents, label=_('Documents'),
|
|
name='documents menu'
|
|
)
|