django-pg-fts
django-pg-fts copied to clipboard
Migrations are failing with Django 1.8
Relevant commit in Django project https://github.com/claudep/django/commit/a159b1facd222c20dde12f1e0117643af528d511
I'm getting:
File "/home/vagrant/project/venv/local/lib/python2.7/site-packages/django/db/migrations/migration.py", line 115, in apply
operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
File "/home/vagrant/project/venv/local/lib/python2.7/site-packages/pg_fts/migrations.py", line 151, in database_forwards
model = from_state.render().get_model(app_label, self.name)
AttributeError: 'ProjectState' object has no attribute 'render'
It would be really cool to see this fix relased soon :)
i ran into this on django 1.11 as well when trying to sqlmigrate
. When I ran the regular migration it worked.