Add missing model event log registration. Remove debug statement.

This commit is contained in:
Roberto Rosario
2015-08-25 22:01:05 -04:00
parent 1900200c82
commit a04bccb842
2 changed files with 1 additions and 1 deletions

View File

@@ -354,4 +354,5 @@ class DocumentsApp(MayanAppConfig):
dispatch_uid='create_default_document_type'
)
registry.register(DeletedDocument)
registry.register(Document)

View File

@@ -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)