Add missing model event log registration. Remove debug statement.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user