Created
October 18, 2011 21:07
-
-
Save stuross/1296727 to your computer and use it in GitHub Desktop.
article migrations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/home/stuart/armstrong/dev/bin/armstrong", line 8, in <module> | |
load_entry_point('armstrong.cli==1.0.1', 'console_scripts', 'armstrong')() | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/armstrong/cli/main.py", line 91, in main | |
func(argv=argv, **kwargs) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/armstrong/cli/main.py", line 113, in call_django | |
execute_manager(settings, argv=new_argv) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/django/core/management/__init__.py", line 438, in execute_manager | |
utility.execute() | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/django/core/management/__init__.py", line 379, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/django/core/management/base.py", line 191, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/django/core/management/base.py", line 220, in execute | |
output = self.handle(*args, **options) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/south/management/commands/migrate.py", line 105, in handle | |
ignore_ghosts = ignore_ghosts, | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/south/migration/__init__.py", line 191, in migrate_app | |
success = migrator.migrate_many(target, workplan, database) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/south/migration/migrators.py", line 221, in migrate_many | |
result = migrator.__class__.migrate_many(migrator, target, migrations, database) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/south/migration/migrators.py", line 292, in migrate_many | |
result = self.migrate(migration, database) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/south/migration/migrators.py", line 125, in migrate | |
result = self.run(migration) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/south/migration/migrators.py", line 93, in run | |
south.db.db.current_orm = self.orm(migration) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/south/migration/migrators.py", line 246, in orm | |
return migration.orm() | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/south/utils.py", line 62, in method | |
value = function(self) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/south/migration/base.py", line 422, in orm | |
return FakeORM(self.migration_class(), self.app_label()) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/south/orm.py", line 46, in FakeORM | |
_orm_cache[args] = _FakeORM(*args) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/south/orm.py", line 125, in __init__ | |
self.models[name] = self.make_model(app_label, model_name, data) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/south/orm.py", line 318, in make_model | |
field = self.eval_in_context(code, app, extra_imports) | |
File "/home/stuart/armstrong/dev/lib/python2.6/site-packages/south/orm.py", line 236, in eval_in_context | |
return eval(code, globals(), fake_locals) | |
File "<string>", line 1, in <module> | |
TypeError: __init__() got an unexpected keyword argument 'to' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment