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
Commits
d6c426df
Commit
d6c426df
authored
3 years ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
Fields: School.place_error se také inicializuje na ""
parent
0ae74998
Branches
Branches containing commit
No related tags found
1 merge request
!86
Registrace
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mo/web/fields.py
+1
-0
1 addition, 0 deletions
mo/web/fields.py
with
1 addition
and
0 deletions
mo/web/fields.py
+
1
−
0
View file @
d6c426df
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment