I have a Django 1.8 application whose initial migration relies on django-interval-field like this:
import interval.fields
migrations.CreateModel(
name='Item',
fields=[
...
('estimated_time', interval.fields.IntervalField(null=True, blank=True)),
I've since migrated this field to use Django's built-in DurationField, and I'm not using this module anymore, but I need to keep it in requirements.txt in order for my migrations to run.
However, this module throws errors when trying to upgrade to Django 1.9. In addition, I can't keep this module around forever. It would be nice to get rid of it.
I've tried squashing the migrations, but the squashed migration still contains the import interval.fields
statement, and creates the interval field. All squashing does is concatenate everything into one file.
Can someone tell me how to go forward towards removing this module?
The Django app in question is here.