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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Merge requests
!86
Registrace
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Registrace
mj/registrace
into
devel
Overview
49
Commits
38
Changes
1
Merged
Martin Mareš
requested to merge
mj/registrace
into
devel
3 years ago
Overview
49
Commits
38
Changes
1
Implementace registrace podle
#220 (closed)
.
Edited
3 years ago
by
Martin Mareš
0
0
Merge request reports
Viewing commit
d6c426df
Prev
Next
Show latest version
1 file
+
1
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
d6c426df
Fields: School.place_error se také inicializuje na ""
· d6c426df
Martin Mareš
authored
3 years ago
mo/web/fields.py
+
1
−
0
View file @ d6c426df
Edit in single-file editor
Open in Web IDE
Show full file
@@ -133,6 +133,7 @@ class School(Place):
def
load_place
(
field
)
->
None
:
field
.
place
=
None
field
.
place_error
=
""
if
field
.
data
:
try
:
field
.
place
=
mo
.
users
.
validate_and_find_school
(
field
.
data
)
Loading