Running migrations Applying main 0029_auto_20150324_0 126 Traceback mo

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Running migrations:
Applying main.0029_auto_20150324_0126...Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/ihor/.pyenv/versions/codeguida/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/home/ihor/.pyenv/versions/codeguida/lib/python3.4/site-packages/django/core/management/__init__.py", line 377, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/ihor/.pyenv/versions/codeguida/lib/python3.4/site-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/ihor/.pyenv/versions/codeguida/lib/python3.4/site-packages/django/core/management/base.py", line 338, in execute
output = self.handle(*args, **options)
File "/home/ihor/.pyenv/versions/codeguida/lib/python3.4/site-packages/django/core/management/commands/migrate.py", line 160, in handle
executor.migrate(targets, plan, fake=options.get("fake", False))
File "/home/ihor/.pyenv/versions/codeguida/lib/python3.4/site-packages/django/db/migrations/executor.py", line 63, in migrate
self.apply_migration(migration, fake=fake)
File "/home/ihor/.pyenv/versions/codeguida/lib/python3.4/site-packages/django/db/migrations/executor.py", line 97, in apply_migration
migration.apply(project_state, schema_editor)
File "/home/ihor/.pyenv/versions/codeguida/lib/python3.4/site-packages/django/db/migrations/migration.py", line 107, in apply
operation.database_forwards(self.app_label, schema_editor, project_state, new_state)
File "/home/ihor/.pyenv/versions/codeguida/lib/python3.4/site-packages/django/db/migrations/operations/fields.py", line 139, in database_forwards
schema_editor.alter_field(from_model, from_field, to_field)
File "/home/ihor/.pyenv/versions/codeguida/lib/python3.4/site-packages/django/db/backends/schema.py", line 473, in alter_field
self._alter_field(model, old_field, new_field, old_type, new_type, old_db_params, new_db_params, strict)
File "/home/ihor/.pyenv/versions/codeguida/lib/python3.4/site-packages/django/db/backends/sqlite3/schema.py", line 190, in _alter_field
self._remake_table(model, alter_fields=[(old_field, new_field)])
File "/home/ihor/.pyenv/versions/codeguida/lib/python3.4/site-packages/django/db/backends/sqlite3/schema.py", line 78, in _remake_table
del body[old_field.name]
KeyError: 'user_ptr'