aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/controllers/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/controllers/user.py')
-rw-r--r--pyaggr3g470r/controllers/user.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pyaggr3g470r/controllers/user.py b/pyaggr3g470r/controllers/user.py
new file mode 100644
index 00000000..c6c1d545
--- /dev/null
+++ b/pyaggr3g470r/controllers/user.py
@@ -0,0 +1,7 @@
+from .abstract import AbstractController
+from pyaggr3g470r.models import User
+
+
+class UserController(AbstractController):
+ _db_cls = User
+ _user_id_key = 'id'
bgstack15