Issue #20 resolved

Django 1.7 migration problem

Anonymous created an issue

pip: Django==1.7b4, django-timedeltafield==0.7.2

command: ./manage.py makemigrations

File "/home/sapi/.virtualenvs/rcppz/local/lib/python2.7/site-packages/timedelta/fields.py", line 92, in deconstruct
    'min_value': self.min_value, 
AttributeError: 'TimedeltaField' object has no attribute 'min_value'

when I change locally 92 and 93 lines to:

'min_value': self._min_value,
'max_value': self._max_value

it works

Comments (2)

  1. Log in to comment