Created
April 20, 2015 22:45
-
-
Save bwarren2/5ce91fa295520ea166df to your computer and use it in GitHub Desktop.
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
~ $ python proj/manage.py migrate --fake-initial | |
/app/.heroku/python/lib/python2.7/site-packages/kombu/utils/__init__.py:407: UserWarning: Module argparse was already imported from /app/.heroku/python/lib/python2.7/argparse.pyc, but /app/.heroku/python/lib/python2.7/site-packages is being added to sys.path | |
from pkg_resources import iter_entry_points | |
Operations to perform: | |
Synchronize unmigrated apps: messages, mptt, rest_framework, tagging, health, bootstrapform, storages, corsheaders, staticfiles, pipeline, django_forms_bootstrap, utils, payments | |
Apply all migrations: <my apps>, sessions, sites, admin, auth, teams, contenttypes | |
Synchronizing apps without migrations: | |
Creating tables... | |
Running deferred SQL... | |
Installing custom SQL... | |
Running migrations: | |
No migrations to apply. | |
Traceback (most recent call last): | |
File "proj/manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line | |
utility.execute() | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 330, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 390, in run_from_argv | |
self.execute(*args, **cmd_options) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 441, in execute | |
output = self.handle(*args, **options) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 225, in handle | |
emit_post_migrate_signal(created_models, self.verbosity, self.interactive, connection.alias) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/sql.py", line 280, in emit_post_migrate_signal | |
using=db) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 201, in send | |
response = receiver(signal=self, sender=sender, **named) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/auth/management/__init__.py", line 82, in create_permissions | |
ctype = ContentType.objects.db_manager(using).get_for_model(klass) | |
File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/contenttypes/models.py", line 78, in get_for_model | |
"Error creating new content types. Please make sure contenttypes " | |
RuntimeError: Error creating new content types. Please make sure contenttypes is migrated before trying to migrate apps individually. | |
~ $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment