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)