diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-10-28 01:34:35 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-10-28 01:34:35 +0100 | 
| commit | ebc34fc7a5000886617f828c77b40b0dbde4f279 (patch) | |
| tree | 1738ee2fb7cd1f66b069f56bd4d482648ea7aecb /ishtar_common/models.py | |
| parent | 3e4197d5eeca9c34f04f554b6dc61f0fc94ab75e (diff) | |
| download | Ishtar-ebc34fc7a5000886617f828c77b40b0dbde4f279.tar.bz2 Ishtar-ebc34fc7a5000886617f828c77b40b0dbde4f279.zip | |
Fix history modification
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 54381598e..89fbd1589 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -70,6 +70,7 @@ class HistoricalRecords(BaseHistoricalRecords):          if not q_history.count():              manager.create(history_type=type, **attrs)              return +        old_instance = q_history.all()[0]          # multiple saving by the same user in a very short time are generaly          # caused by post_save signals it is not relevant to keep them          min_history_date = datetime.datetime.now() \ | 
