Remove accidentally left behind debugging message.
This commit is contained in:
parent
20eb920cb4
commit
3c98a4bff5
@ -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…
x
Reference in New Issue
Block a user