Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Merge requests
!82
Označení neaktivovaných účtů -- vytvoření user_html_flags
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Označení neaktivovaných účtů -- vytvoření user_html_flags
jk/issue-196-v2
into
devel
Overview
25
Commits
6
Changes
1
Merged
Jiří Kalvoda
requested to merge
jk/issue-196-v2
into
devel
3 years ago
Overview
25
Commits
6
Changes
1
Expand
Closes
#196 (closed)
0
0
Merge request reports
Viewing commit
7c80912b
Show latest version
1 file
+
3
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
7c80912b
Db: User: Funkce na zjištění doposud nepřihlášení
· 7c80912b
Jiří Kalvoda
authored
3 years ago
mo/db.py
+
3
−
0
Options
@@ -303,6 +303,9 @@ class User(Base):
def
name_sort_key
(
self
)
->
Tuple
[
str
,
str
]:
return
(
locale
.
strxfrm
(
self
.
last_name
),
locale
.
strxfrm
(
self
.
first_name
))
def
is_inactive
(
self
)
->
bool
:
return
self
.
password_hash
==
None
class
Contest
(
Base
):
__tablename__
=
'
contests
'
Loading