diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-09-16 17:25:35 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:20:58 +0100 |
commit | 812bddd918036b7e3eebc9785e691bce00c48ecc (patch) | |
tree | d62d25974c7a4c8ea315245dc6e30d06d34fa9bc /ishtar_common/wizards.py | |
parent | e9ae5406e55dcc9c62b0304531df66e0399f6f7c (diff) | |
download | Ishtar-812bddd918036b7e3eebc9785e691bce00c48ecc.tar.bz2 Ishtar-812bddd918036b7e3eebc9785e691bce00c48ecc.zip |
Migration to Django 2.2 - fixes
- fix parcel form
- fix imports
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r-- | ishtar_common/wizards.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index 1aafef6e7..a22901953 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -917,7 +917,7 @@ class Wizard(IshtarWizard): and ( hasattr(field, "default") and ( - not field.default + field.default is None or field.default == NOT_PROVIDED ) ) |