diff --git a/mayan/apps/redactions/apps.py b/mayan/apps/redactions/apps.py index 45409d76db..4c729c2684 100644 --- a/mayan/apps/redactions/apps.py +++ b/mayan/apps/redactions/apps.py @@ -10,6 +10,7 @@ from mayan.apps.common.menus import ( menu_list_facet, menu_object, menu_secondary, ) +from .dependencies import * # NOQA from .links import ( link_redaction_create, link_redaction_delete, link_redaction_edit, link_redaction_list diff --git a/mayan/apps/redactions/dependencies.py b/mayan/apps/redactions/dependencies.py new file mode 100644 index 0000000000..698a1a09f4 --- /dev/null +++ b/mayan/apps/redactions/dependencies.py @@ -0,0 +1,15 @@ +from __future__ import unicode_literals + +from django.utils.translation import ugettext_lazy as _ + +from mayan.apps.dependencies.classes import ( + GoogleFontDependency, JavaScriptDependency +) + +JavaScriptDependency( + label=_('JavaScript image cropper'), module=__name__, name='cropperjs', + version_string='=1.4.1' +) +JavaScriptDependency( + module=__name__, name='jquery-cropper', version_string='=1.0.0' +)