diff --git a/document_page/document_page.py b/document_page/document_page.py index 21da2770..b4205e37 100644 --- a/document_page/document_page.py +++ b/document_page/document_page.py @@ -181,14 +181,3 @@ class document_page_history(models.Model): "Revision-{}".format(v2), context=True ) - - def __getattr__(self, attr): - """Return a dummy callabale""" - if attr in ['_sql', 'init', '_ids']: - raise AttributeError - - _logger.warning( - "Trying to access attribute %s on document_page_history", - attr - ) - return (lambda *a, **b: None)