aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/mixins.py
diff options
context:
space:
mode:
authorGravatar Joseph <[email protected]>2018-02-28 23:33:35 +0000
committerGravatar GitHub <[email protected]>2018-02-28 23:33:35 +0000
commitc2dfc1bb34e8153bc7372ce6056c6883616ece9b (patch)
tree0df39f5f8d60d3f528d48347e9a5c8b276875175 /pysite/mixins.py
parentreduce memory allocation from 2GB to 512MB (#28) (diff)
Add error messages (#30)
* Add error messages Signed-off-by: JoeBanks13 <[email protected]> * Remove un-used keyword arg from 404 * Assert for status code instead of full content * PEP8 * test lint * please coverage * oh * Exclude websockets.py from coverage * Move code output into terminal * Switch typewriter href protocol * Add tests for websockets.py * Abort previous commit, coveralls did not let coverage go down * Add more pauses and request => response * move css and js out, add typewriter JS to our own repo & add method for appending text in bulk. * Enable REPL on 4XX and change error descriptions * commas * /error path
Diffstat (limited to 'pysite/mixins.py')
-rw-r--r--pysite/mixins.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pysite/mixins.py b/pysite/mixins.py
index 930a7eb7..059f871d 100644
--- a/pysite/mixins.py
+++ b/pysite/mixins.py
@@ -1,9 +1,7 @@
# coding=utf-8
-from _weakref import ref
-
from flask import Blueprint
-
from rethinkdb.ast import Table
+from _weakref import ref
from pysite.database import RethinkDB