Add from __future__ import unicode_literals, issue #37

This commit is contained in:
Roberto Rosario
2015-01-19 04:06:40 -04:00
parent efbac7300c
commit d59ea3ede2
334 changed files with 2452 additions and 2268 deletions

View File

@@ -14,9 +14,10 @@ from django.views.generic import FormView
from acls.models import AccessEntry
from common.utils import encapsulate, generate_choices_w_labels
from common.views import (SingleObjectCreateView, SingleObjectDeleteView,
SingleObjectEditView, SingleObjectListView,
assign_remove)
from common.views import (
SingleObjectCreateView, SingleObjectDeleteView, SingleObjectEditView,
SingleObjectListView, assign_remove
)
from common.widgets import two_state_template
from documents.models import Document
from permissions.models import Permission
@@ -460,7 +461,7 @@ def setup_workflow_document_types(request, pk):
remove_method=lambda x: workflow.document_types.remove(x),
decode_content_type=True,
extra_context={
'main_title': _(u'Document types assigned the workflow: %s') % workflow,
'main_title': _('Document types assigned the workflow: %s') % workflow,
'object': workflow,
}
)