python - Django NodeNotFoundError during syncdb -


hi have developed project in local machine when have transferred production server, getting following error:

python manage.py  syncdb  traceback (most recent call last): file "manage.py", line 10, in <module> execute_from_command_line(sys.argv) file "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line utility.execute() file "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute self.fetch_command(subcommand).run_from_argv(self.argv) file "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv self.execute(*args, **cmd_options) file "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute output = self.handle(*args, **options) file "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py", line 25, in handle call_command("migrate", **options) file "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 120, in call_command return command.execute(*args, **defaults) file "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute output = self.handle(*args, **options) file "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/migrate.py", line 93, in handle executor = migrationexecutor(connection, self.migration_progress_callback) file "/usr/local/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 19, in __init__ self.loader = migrationloader(self.connection) file "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 47, in __init__ self.build_graph() file "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 321, in build_graph _reraise_missing_dependency(migration, parent, e) file "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 291, in _reraise_missing_dependency raise exc django.db.migrations.graph.nodenotfounderror: migration myapp.0010_auto_20160415_1815 dependencies reference nonexistent parent node (u'registration', u'0003_migrate_activatedstatus') 

i have copy project 1 machine another. django version 1.8.11 has idea ? thanks

check django version , upgrade dependencies make sure install dependencies required project , check if python version same


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -