From 70f0a9166b15645845370f4db8b1c9d1cfb75e6a Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Wed, 14 Feb 2018 23:10:31 +0000 Subject: Database API Improvements #1qcra (#13) * A large set of changes, including: * A mixin for views that need the DB * Many changes to the database class in order to make things more fluid * Provide the route manager in view setup() methods * Pushing up the progress so far * snekchek * Full (undocumented) database implementation * snekchek * Don't rely on exceptions for table deletion * Add RethinkDB data to gitignore * Documentation for DB class * Make Flake8 ignore P102 What even is that? What does "docstring does contain unindexed parameters" mean? * Document the base_routes module * Cleanup RE latest reviews * snekchek (bah) --- pysite/route_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pysite/route_manager.py') diff --git a/pysite/route_manager.py b/pysite/route_manager.py index 6f973767..ddd969d7 100644 --- a/pysite/route_manager.py +++ b/pysite/route_manager.py @@ -71,5 +71,5 @@ class RouteManager: cls is not APIView and BaseView in cls.__mro__ ): - cls.setup(blueprint) + cls.setup(self, blueprint) print(f">> View loaded: {cls.name: <15} ({module.__name__}.{cls_name})") -- cgit v1.2.3