Commit 5ecfd718 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

Fix null date integrity constrain in ProjectMembershipHistory

parent 676ffb73
......@@ -1734,7 +1734,7 @@ class ProjectMembership(models.Model):
serial=self.id,
person=self.person,
project=self.project,
date=date,
date=date or datetime.now(),
reason=reason)
history_item.save()
serial = history_item.id
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment