From b2618e9404b84cc62d4becb02436233a0d53b375 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 25 Nov 2015 22:45:43 +0100 Subject: Rfactorization. Just a start... --- web/controllers/user.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 web/controllers/user.py (limited to 'web/controllers/user.py') diff --git a/web/controllers/user.py b/web/controllers/user.py new file mode 100644 index 00000000..3f96b185 --- /dev/null +++ b/web/controllers/user.py @@ -0,0 +1,7 @@ +from .abstract import AbstractController +from web.models import User + + +class UserController(AbstractController): + _db_cls = User + _user_id_key = 'id' -- cgit