diff options
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index c4e0c9b92..5912c8377 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -204,7 +204,7 @@ class HistoricalRecords(BaseHistoricalRecords):              return          if 'history_date' not in attrs or not attrs['history_date']: -            attrs['history_date'] = datetime.now() +            attrs['history_date'] = datetime.datetime.now()          # record a new version only if data have been changed          for field in instance._meta.fields:              if getattr(old_instance, field.attname) != attrs[field.attname]: | 
