forked from ScoDoc/ScoDoc
Fix regression: modif etudiant / changement photo
This commit is contained in:
parent
753578813e
commit
1693bb6c6c
@ -220,7 +220,7 @@ class Identite(db.Model):
|
|||||||
}
|
}
|
||||||
args_dict = {}
|
args_dict = {}
|
||||||
for key, value in args.items():
|
for key, value in args.items():
|
||||||
if hasattr(cls, key):
|
if hasattr(cls, key) and not isinstance(getattr(cls, key, None), property):
|
||||||
# compat scodoc7 (mauvaise idée de l'époque)
|
# compat scodoc7 (mauvaise idée de l'époque)
|
||||||
if key in fs_empty_stored_as_nulls and value == "":
|
if key in fs_empty_stored_as_nulls and value == "":
|
||||||
value = None
|
value = None
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.4.77"
|
SCOVERSION = "9.4.78"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user