diff options
-rw-r--r-- | db/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |