summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-07-12 16:52:04 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-07-12 16:52:04 +0200
commit43337827f8d3d143bb323c0e828b9df501efca22 (patch)
tree8e45e366b73d59d2604f0bf1bca56b2fe8178e8e
parentab14af097a86ac010e65a608e328dbdf08dab139 (diff)
downloadIshtar-43337827f8d3d143bb323c0e828b9df501efca22.tar.bz2
Ishtar-43337827f8d3d143bb323c0e828b9df501efca22.zip
Account form: fix bad initialization
-rw-r--r--CHANGES.md12
-rw-r--r--ishtar_common/forms_common.py2
-rw-r--r--ishtar_common/version.py4
3 files changed, 16 insertions, 2 deletions
diff --git a/CHANGES.md b/CHANGES.md
index 192491a6e..d0adb3952 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -6,6 +6,18 @@ date: 2022-07-10
Ishtar changelog
================
+v3.2.3 - 2022-07-12
+--------------------
+
+### Features ###
+
+- Update generated documentation
+
+### Bug fix ###
+
+- Preventive file: fix copy id
+- Account form: fix bad initialization
+
v3.2.2 - 2022-07-11
--------------------
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py
index de7b7785a..7f8394768 100644
--- a/ishtar_common/forms_common.py
+++ b/ishtar_common/forms_common.py
@@ -1108,6 +1108,8 @@ class ProfileForm(ManageOldType):
class ProfileFormsetBase(FormSetWithDeleteSwitches):
def clean(self):
values = []
+ if not getattr(self, "cleaned_data", None):
+ return
for data in self.cleaned_data:
if not data.get("profile_type", None):
continue
diff --git a/ishtar_common/version.py b/ishtar_common/version.py
index ffae82c63..116df27d1 100644
--- a/ishtar_common/version.py
+++ b/ishtar_common/version.py
@@ -1,5 +1,5 @@
-# 3.2.2
-VERSION = (3, 2, 2)
+# 3.2.3
+VERSION = (3, 2, 3)
def get_version():