Skip to content
Snippets Groups Projects
Commit d6c426df authored by Martin Mareš's avatar Martin Mareš
Browse files

Fields: School.place_error se také inicializuje na ""

parent 0ae74998
Branches
No related tags found
1 merge request!86Registrace
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment