Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
redl
redeleitsystem
Commits
17779aac
Commit
17779aac
authored
Nov 07, 2015
by
Robin Sonnabend
Browse files
Fixed minor errors in repr outputs
parent
45894dab
Changes
1
Hide whitespace changes
Inline
Side-by-side
models/database.py
View file @
17779aac
...
...
@@ -25,7 +25,7 @@ class User(db.Model, UserMixin):
self
.
temp_key_timestamp
=
datetime
(
1970
,
1
,
1
,
0
,
0
)
def
__repr__
(
self
):
return
"<User(id={}, fullname='{}', username='{}', password'{}', roles{}, temp_key='{}', temp_key_timestamp={})>"
.
format
(
return
"<User(id={}, fullname='{}', username='{}', password
=
'{}', roles
=
{}, temp_key='{}', temp_key_timestamp={})>"
.
format
(
self
.
id
,
self
.
fullname
,
self
.
username
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment