From a222b0d9f8347967249d64ac98489a2c7fa0a128 Mon Sep 17 00:00:00 2001 From: Anler Hp Date: Mon, 23 Jun 2014 12:11:52 +0200 Subject: [PATCH] Fix ImproperlyConfigured except when creating US --- taiga/projects/history/mixins.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/taiga/projects/history/mixins.py b/taiga/projects/history/mixins.py index b6f180e6..6131adb7 100644 --- a/taiga/projects/history/mixins.py +++ b/taiga/projects/history/mixins.py @@ -67,10 +67,9 @@ class HistoryResourceMixin(object): self.__object_saved = True def post_save(self, obj, created=False): - self.persist_history_snapshot() + self.persist_history_snapshot(obj) super().post_save(obj, created=created) def pre_delete(self, obj): self.persist_history_snapshot(obj, delete=True) super().pre_delete(obj) -