Fixes in sortm keys

This commit is contained in:
absurdo 2023-02-18 18:40:37 +01:00
parent dd4cf06b3b
commit c2587c5166
3 changed files with 335 additions and 2 deletions

View file

@ -257,7 +257,7 @@ class ForeignKeyField(IntegerField):
value=super().check(value)
if value=='0' or value==0:
value='NULL'
value=None
return value