From c3149a58d6106a1948dffc711c3d5cf9c34804ed Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 16 Mar 2016 18:26:12 -0400 Subject: [PATCH] Sort variables. --- mayan/apps/ocr/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/ocr/views.py b/mayan/apps/ocr/views.py index f163f71d15..a11ee69ad4 100644 --- a/mayan/apps/ocr/views.py +++ b/mayan/apps/ocr/views.py @@ -136,8 +136,8 @@ class DocumentTypeSettingsEditView(SingleObjectEditView): class DocumentOCRContent(SingleObjectDetailView): - model = Document form_class = DocumentContentForm + model = Document object_permission = permission_ocr_content_view def dispatch(self, request, *args, **kwargs):