5 | | Traceback (most recent call last): |
6 | | File "manage.py", line 15, in <module> |
7 | | execute_from_command_line(sys.argv) |
8 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/core/management/__init__.py", line 381, in execute_from_command_line |
9 | | utility.execute() |
10 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/core/management/__init__.py", line 375, in execute |
11 | | self.fetch_command(subcommand).run_from_argv(self.argv) |
12 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/core/management/base.py", line 294, in run_from_argv |
13 | | self.execute(*args, **cmd_options) |
14 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/core/management/base.py", line 331, in execute |
15 | | output = self.handle(*args, **options) |
16 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/core/management/base.py", line 83, in wrapped |
17 | | res = handle_func(*args, **kwargs) |
18 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/core/management/commands/migrate.py", line 203, in handle |
19 | | fake_initial=fake_initial, |
20 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/migrations/executor.py", line 121, in migrate |
21 | | state = self._migrate_all_backwards(plan, full_plan, fake=fake) |
22 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/migrations/executor.py", line 196, in _migrate_all_backwards |
23 | | self.unapply_migration(states[migration], migration, fake=fake) |
24 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/migrations/executor.py", line 262, in unapply_migration |
25 | | state = migration.unapply(state, schema_editor) |
26 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/migrations/migration.py", line 175, in unapply |
27 | | operation.database_backwards(self.app_label, schema_editor, from_state, to_state) |
28 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/migrations/operations/models.py", line 377, in database_backwards |
29 | | self.database_forwards(app_label, schema_editor, from_state, to_state) |
30 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/migrations/operations/models.py", line 349, in database_forwards |
31 | | to_field, |
32 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/backends/base/schema.py", line 508, in alter_field |
33 | | return self._alter_many_to_many(model, old_field, new_field, strict) |
34 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/backends/base/schema.py", line 863, in _alter_many_to_many |
35 | | new_field.remote_field.through._meta.get_field(new_field.m2m_reverse_field_name()), |
36 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/backends/base/schema.py", line 523, in alter_field |
37 | | old_db_params, new_db_params, strict) |
38 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/backends/base/schema.py", line 605, in _alter_field |
39 | | self.execute(self._rename_field_sql(model._meta.db_table, old_field, new_field, new_type)) |
40 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/backends/base/schema.py", line 133, in execute |
41 | | cursor.execute(sql, params) |
42 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/backends/utils.py", line 100, in execute |
43 | | return super().execute(sql, params) |
44 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/backends/utils.py", line 68, in execute |
45 | | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) |
46 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/backends/utils.py", line 77, in _execute_with_wrappers |
47 | | return executor(sql, params, many, context) |
48 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/backends/utils.py", line 85, in _execute |
49 | | return self.cursor.execute(sql, params) |
50 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/utils.py", line 89, in __exit__ |
51 | | raise dj_exc_value.with_traceback(traceback) from exc_value |
52 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/backends/utils.py", line 85, in _execute |
53 | | return self.cursor.execute(sql, params) |
54 | | File "/usr/local/lib/python3.6/dist-packages/Django-2.1.dev20180514000620-py3.6.egg/django/db/backends/mysql/base.py", line 71, in execute |
55 | | return self.cursor.execute(query, args) |
56 | | File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 250, in execute |
57 | | self.errorhandler(self, exc, value) |
58 | | File "/usr/lib/python3/dist-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler |
59 | | raise errorvalue |
60 | | File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 247, in execute |
61 | | res = self._query(query) |
62 | | File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 411, in _query |
63 | | rowcount = self._do_query(q) |
64 | | File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 374, in _do_query |
65 | | db.query(q) |
66 | | File "/usr/lib/python3/dist-packages/MySQLdb/connections.py", line 292, in query |
67 | | _mysql.connection.query(self, query) |