diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-29 00:08:01 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-29 00:08:01 +0100 |
commit | 3de4282a367b758d8bfcdfbfdd1cb995c283f213 (patch) | |
tree | 9a7f9f68703d2d79fb72ad251cfba612adae5b37 /pyaggr3g470r/controllers | |
parent | Clean the file utils.py (diff) | |
download | newspipe-3de4282a367b758d8bfcdfbfdd1cb995c283f213.tar.gz newspipe-3de4282a367b758d8bfcdfbfdd1cb995c283f213.tar.bz2 newspipe-3de4282a367b758d8bfcdfbfdd1cb995c283f213.zip |
Use more the controllers in views.py. user_id_key is the email.
Diffstat (limited to 'pyaggr3g470r/controllers')
-rw-r--r-- | pyaggr3g470r/controllers/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/controllers/user.py b/pyaggr3g470r/controllers/user.py index c6c1d545..ed46e1e7 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 = 'id' + _user_id_key = 'email' |