Advertisement
Guest User

Untitled

a guest
May 29th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. ~ $ python proj/manage.py migrate --fake-initial
  2. /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
  3. from pkg_resources import iter_entry_points
  4. Operations to perform:
  5. Synchronize unmigrated apps: messages, mptt, rest_framework, tagging, health, bootstrapform, storages, corsheaders, staticfiles, pipeline, django_forms_bootstrap, utils, payments
  6. Apply all migrations: <my apps>, sessions, sites, admin, auth, teams, contenttypes
  7. Synchronizing apps without migrations:
  8. Creating tables...
  9. Running deferred SQL...
  10. Installing custom SQL...
  11. Running migrations:
  12. No migrations to apply.
  13. Traceback (most recent call last):
  14. File "proj/manage.py", line 10, in <module>
  15. execute_from_command_line(sys.argv)
  16. File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
  17. utility.execute()
  18. File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 330, in execute
  19. self.fetch_command(subcommand).run_from_argv(self.argv)
  20. File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 390, in run_from_argv
  21. self.execute(*args, **cmd_options)
  22. File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 441, in execute
  23. output = self.handle(*args, **options)
  24. File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 225, in handle
  25. emit_post_migrate_signal(created_models, self.verbosity, self.interactive, connection.alias)
  26. File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/sql.py", line 280, in emit_post_migrate_signal
  27. using=db)
  28. File "/app/.heroku/python/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 201, in send
  29. response = receiver(signal=self, sender=sender, **named)
  30. File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/auth/management/__init__.py", line 82, in create_permissions
  31. ctype = ContentType.objects.db_manager(using).get_for_model(klass)
  32. File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/contenttypes/models.py", line 78, in get_for_model
  33. "Error creating new content types. Please make sure contenttypes "
  34. RuntimeError: Error creating new content types. Please make sure contenttypes is migrated before trying to migrate apps individually.
  35. ~ $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement