diff options
Diffstat (limited to '')
| -rw-r--r-- | pysite/mixins.py | 3 | 
1 files changed, 0 insertions, 3 deletions
| diff --git a/pysite/mixins.py b/pysite/mixins.py index 0a9402a9..5108a9a1 100644 --- a/pysite/mixins.py +++ b/pysite/mixins.py @@ -47,9 +47,6 @@ class DBMixin:          if hasattr(super(), "setup"):              super().setup(manager, blueprint)  # pragma: no cover -        if not cls.table_name: -            raise RuntimeError("Routes using DBViewMixin must define `table_name`") -          cls._db = ref(manager.db)      @property | 
