aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/controllers/user.py
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-04-06 12:05:59 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-04-07 10:03:55 +0200
commite41348abe7bb3d336cc474ea1d246dc25390a104 (patch)
tree9b13f277c0f755f356250b976b086b0f319be01e /pyaggr3g470r/controllers/user.py
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadnewspipe-e41348abe7bb3d336cc474ea1d246dc25390a104.tar.gz
newspipe-e41348abe7bb3d336cc474ea1d246dc25390a104.tar.bz2
newspipe-e41348abe7bb3d336cc474ea1d246dc25390a104.zip
correcting the way we use the controllers and adding documentation
Diffstat (limited to 'pyaggr3g470r/controllers/user.py')
-rw-r--r--pyaggr3g470r/controllers/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/controllers/user.py b/pyaggr3g470r/controllers/user.py
index ed46e1e7..c6c1d545 100644
--- a/pyaggr3g470r/controllers/user.py
+++ b/pyaggr3g470r/controllers/user.py
@@ -4,4 +4,4 @@ from pyaggr3g470r.models import User
class UserController(AbstractController):
_db_cls = User
- _user_id_key = 'email'
+ _user_id_key = 'id'
bgstack15