aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/route_manager.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-02-14 23:10:31 +0000
committerGravatar Sam Wedgwood <[email protected]>2018-02-14 23:10:31 +0000
commit70f0a9166b15645845370f4db8b1c9d1cfb75e6a (patch)
treea9ff85c2ecdb1db529a935f070b2d54ecbee93ef /pysite/route_manager.py
parent[API] You need to return the value of `self.error()` (diff)
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)
Diffstat (limited to 'pysite/route_manager.py')
-rw-r--r--pysite/route_manager.py2
1 files changed, 1 insertions, 1 deletions
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})")