From a04bccb8424b42aa0701344b0d68c0ee79c52660 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 25 Aug 2015 22:01:05 -0400 Subject: [PATCH] Add missing model event log registration. Remove debug statement. --- mayan/apps/documents/apps.py | 1 + mayan/apps/documents/models.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/documents/apps.py b/mayan/apps/documents/apps.py index e2d077bbbd..7224b04b9c 100644 --- a/mayan/apps/documents/apps.py +++ b/mayan/apps/documents/apps.py @@ -354,4 +354,5 @@ class DocumentsApp(MayanAppConfig): dispatch_uid='create_default_document_type' ) + registry.register(DeletedDocument) registry.register(Document) diff --git a/mayan/apps/documents/models.py b/mayan/apps/documents/models.py index de390fd7d4..c9a99c64ae 100644 --- a/mayan/apps/documents/models.py +++ b/mayan/apps/documents/models.py @@ -195,7 +195,6 @@ class Document(models.Model): def save(self, *args, **kwargs): user = kwargs.pop('_user', None) - print '!!!!!!!!!!', user new_document = not self.pk super(Document, self).save(*args, **kwargs)