From 6eb1d0b4f3c15497532eb0bb24d4147e5910f56e Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 30 Oct 2015 14:13:42 +0100 Subject: Update db.models.CodeqUser --- db/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db') diff --git a/db/models.py b/db/models.py index 23152c3..58cb240 100644 --- a/db/models.py +++ b/db/models.py @@ -7,8 +7,8 @@ from . import get_connection, return_connection __all__ = ['CodeqUser', 'Solution'] -class CodeqUser(collections.namedtuple('CodeqUser', ['id', 'username', 'password', 'name', 'email', 'is_admin', 'is_active', 'date_joined', 'last_login'])): - __sql_prefix = 'select id, username, password, name, email, is_admin, is_active, date_joined, last_login from codeq_user' +class CodeqUser(collections.namedtuple('CodeqUser', ['id', 'username', 'password', 'name', 'email', 'is_admin', 'is_active', 'date_joined', 'last_login', 'gui_lang', 'robot_address', 'saml_data', 'gui_layout'])): + __sql_prefix = 'select id, username, password, name, email, is_admin, is_active, date_joined, last_login, gui_lang, robot_address, saml_data, gui_layout from codeq_user' @staticmethod def get(**kwargs): -- cgit v1.2.1