aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/controllers/user.py
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-01-20 17:20:07 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-03-03 22:22:46 +0100
commit5ce0ce0d57c9d9976a47a120ca6235b84ade236a (patch)
tree378862500c6ed0b5a7fadc8c3ac0fd2b24398ef1 /pyaggr3g470r/controllers/user.py
parenta first big refacto of the existing arch (diff)
downloadnewspipe-5ce0ce0d57c9d9976a47a120ca6235b84ade236a.tar.gz
newspipe-5ce0ce0d57c9d9976a47a120ca6235b84ade236a.tar.bz2
newspipe-5ce0ce0d57c9d9976a47a120ca6235b84ade236a.zip
first implementation of fetchable feeds
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