(django_blog)[root@localhost django_blog]# python manage.py migrate reversion
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(_args, _options.dict)
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(_args, _options)
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/management/commands/migrate.py", line 111, in handle
ignore_ghosts = ignore_ghosts,
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/init.py", line 173, in migrate_app
Migrations.calculate_dependencies()
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/base.py", line 229, in calculate_dependencies
migration.calculate_dependencies()
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/base.py", line 363, in calculate_dependencies
for migration in self._get_dependency_objects("depends_on"):
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/base.py", line 343, in _get_dependency_objects
for app, name in getattr(self.migration_class(), attrname, []):
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/base.py", line 315, in migration_class
return self.migration().Migration
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/utils/init.py", line 62, in method
value = function(self)
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/base.py", line 304, in migration
raise exceptions.UnknownMigration(self, sys.exc_info())
south.exceptions.UnknownMigration: Migration 'reversion:0001_initial' probably doesn't exist.
Traceback (most recent call last):
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/base.py", line 302, in migration
migration = import(full_name, {}, {}, ['Migration'])
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/reversion/migrations/0001_initial.py", line 4, in
from django.db import models, migrations
ImportError: cannot import name migrations
(django_blog)[root@localhost django_blog]# python manage.py migrate reversion Traceback (most recent call last): File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(_args, _options.dict)
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(_args, _options)
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/management/commands/migrate.py", line 111, in handle
ignore_ghosts = ignore_ghosts,
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/init.py", line 173, in migrate_app
Migrations.calculate_dependencies()
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/base.py", line 229, in calculate_dependencies
migration.calculate_dependencies()
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/base.py", line 363, in calculate_dependencies
for migration in self._get_dependency_objects("depends_on"):
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/base.py", line 343, in _get_dependency_objects
for app, name in getattr(self.migration_class(), attrname, []):
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/base.py", line 315, in migration_class
return self.migration().Migration
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/utils/init.py", line 62, in method
value = function(self)
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/base.py", line 304, in migration
raise exceptions.UnknownMigration(self, sys.exc_info())
south.exceptions.UnknownMigration: Migration 'reversion:0001_initial' probably doesn't exist.
Traceback (most recent call last):
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/south/migration/base.py", line 302, in migration
migration = import(full_name, {}, {}, ['Migration'])
File "/root/.virtualenvs/django_blog/lib/python2.7/site-packages/reversion/migrations/0001_initial.py", line 4, in
from django.db import models, migrations
ImportError: cannot import name migrations
(django_blog)[root@localhost django_blog]#