Remove accidentally left behind debugging message.
This commit is contained in:
parent
20eb920cb4
commit
3c98a4bff5
1 changed files with 0 additions and 1 deletions
|
|
@ -107,7 +107,6 @@ class Document(BaseDocument):
|
|||
if rule == DENY and document_cls.objects(**{field_name: self.id}).count() > 0:
|
||||
msg = u'Could not delete document (at least %s.%s refers to it)' % \
|
||||
(document_cls.__name__, field_name)
|
||||
logging.error(msg)
|
||||
raise OperationError(msg)
|
||||
|
||||
for rule_entry in self._meta['delete_rules']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue