diff --git a/document_page/document_page.py b/document_page/document_page.py index 75cc3abe..57e6d050 100644 --- a/document_page/document_page.py +++ b/document_page/document_page.py @@ -183,7 +183,7 @@ class document_page_history(models.Model): def __getattr__(self, attr): """Return a dummy callabale""" - if attr in ['_sql']: + if attr in ['_sql', 'init', '_ids']: raise AttributeError _logger.warning(