Create workflow action errors using the generic object error

namespace and not directly to the model.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-08-28 17:57:42 -04:00
parent 8d76120ac7
commit 272c64d903
3 changed files with 16 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
from __future__ import unicode_literals
from django.utils.translation import ugettext_lazy as _
from common.classes import ErrorLogNamespace
error_log_state_actions = ErrorLogNamespace(
name='workflow_state_actions', label=_('Workflow state actions')
)