Advertisement
Guest User

Untitled

a guest
May 29th, 2015
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. Synchronizing apps without migrations:
  2. Creating tables...
  3. Running deferred SQL...
  4. Installing custom SQL...
  5. Running migrations:
  6. No migrations to apply.
  7. Traceback (most recent call last):
  8. File "proj/manage.py", line 10, in <module>
  9. execute_from_command_line(sys.argv)
  10. File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
  11. utility.execute()
  12. File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 330, in execute
  13. self.fetch_command(subcommand).run_from_argv(self.argv)
  14. File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 390, in run_from_argv
  15. self.execute(*args, **cmd_options)
  16. File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 441, in execute
  17. output = self.handle(*args, **options)
  18. File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 225, in handle
  19. emit_post_migrate_signal(created_models, self.verbosity, self.interactive, connection.alias)
  20. File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/sql.py", line 280, in emit_post_migrate_signal
  21. using=db)
  22. File "/app/.heroku/python/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 201, in send
  23. response = receiver(signal=self, sender=sender, **named)
  24. File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/auth/management/__init__.py", line 82, in create_permissions
  25. ctype = ContentType.objects.db_manager(using).get_for_model(klass)
  26. File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/contenttypes/models.py", line 78, in get_for_model
  27. "Error creating new content types. Please make sure contenttypes "
  28. RuntimeError: Error creating new content types. Please make sure contenttypes is migrated before trying to migrate apps individually.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement