This is output from the migrate command against an empty postgres DB.

16:05:39 [aaron@ender:~/code/busybodyweb] [busybody] master* ± python
manage.py migrate
Operations to perform:
  Synchronize unmigrated apps: stronghold, site_basics, gunicorn,
djcelery_email, staticfiles, admindocs, messages,
kombu_transport_django, djcelery, djangosecure, humanize, avatar,
django_extensions, debug_toolbar, raven_compat, bootstrap3
  Apply all migrations: sessions, admin, tastypie, auth, sites,
contenttypes
Synchronizing apps without migrations:
  Creating tables...
    Creating table avatar_avatar
    Creating table celery_taskmeta
    Creating table celery_tasksetmeta
    Creating table djcelery_intervalschedule
    Creating table djcelery_crontabschedule
    Creating table djcelery_periodictasks
    Creating table djcelery_periodictask
    Creating table djcelery_workerstate
    Creating table djcelery_taskstate
    Creating table djkombu_queue
    Creating table djkombu_message
    Running deferred SQL...
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File 
"/home/aaron/.virtualenvs/busybody/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 338, in execute_from_command_line
    utility.execute()
  File 
"/home/aaron/.virtualenvs/busybody/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 330, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File 
"/home/aaron/.virtualenvs/busybody/local/lib/python2.7/site-packages/django/core/management/base.py",
line 390, in run_from_argv
    self.execute(*args, **cmd_options)
  File 
"/home/aaron/.virtualenvs/busybody/local/lib/python2.7/site-packages/django/core/management/base.py",
line 441, in execute
    output = self.handle(*args, **options)
  File 
"/home/aaron/.virtualenvs/busybody/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py",
line 179, in handle
    created_models = self.sync_apps(connection,
executor.loader.unmigrated_apps)
  File 
"/home/aaron/.virtualenvs/busybody/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py",
line 317, in sync_apps
    cursor.execute(statement)
  File 
"/home/aaron/.virtualenvs/busybody/local/lib/python2.7/site-packages/django/db/backends/utils.py",
line 79, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File 
"/home/aaron/.virtualenvs/busybody/local/lib/python2.7/site-packages/django/db/backends/utils.py",
line 64, in execute
    return self.cursor.execute(sql, params)
  File 
"/home/aaron/.virtualenvs/busybody/local/lib/python2.7/site-packages/django/db/utils.py",
line 97, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File 
"/home/aaron/.virtualenvs/busybody/local/lib/python2.7/site-packages/django/db/backends/utils.py",
line 62, in execute
    return self.cursor.execute(sql)
django.db.utils.ProgrammingError: relation "auth_user" does not exist

16:06:20 [aaron@ender:~/code/busybodyweb] [busybody] master* 1 ±


Then I downgrade to Django 1.7.7 and try again:

16:06:20 [aaron@ender:~/code/busybodyweb] [busybody] master* 1 ± pip
install django==1.7.7
Downloading/unpacking django==1.7.7
  Downloading Django-1.7.7-py2.py3-none-any.whl (7.4MB): 7.4MB
downloaded
Installing collected packages: django
  Found existing installation: Django 1.8
    Uninstalling Django:
      Successfully uninstalled Django
Successfully installed django
Cleaning up...
16:06:39 [aaron@ender:~/code/busybodyweb] [busybody] master* ± python
manage.py migrate
System check identified some issues:

WARNINGS:
?: (1_6.W001) Some project unittests may not execute as expected.
        HINT: Django 1.6 introduced a new default test runner. It
looks like this project was generated using Django 1.5 or earlier. You
should ensure your tests are all running & behaving as expected. See
https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner
for more information.
Operations to perform:
  Synchronize unmigrated apps: stronghold, site_basics,
djcelery_email, djcelery, debug_toolbar, kombu_transport_django,
djangosecure, django_extensions, avatar, raven_compat, bootstrap3
  Apply all migrations: sessions, admin, tastypie, auth, sites,
contenttypes
Synchronizing apps without migrations:
  Creating tables...
    Creating table avatar_avatar
    Creating table celery_taskmeta
    Creating table celery_tasksetmeta
    Creating table djcelery_intervalschedule
    Creating table djcelery_crontabschedule
    Creating table djcelery_periodictasks
    Creating table djcelery_periodictask
    Creating table djcelery_workerstate
    Creating table djcelery_taskstate
    Creating table djkombu_queue
    Creating table djkombu_message
  Installing custom SQL...
  Installing indexes...
Running migrations:
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying sessions.0001_initial... OK
  Applying sites.0001_initial... OK
  Applying tastypie.0001_initial... OK
16:06:43 [aaron@ender:~/code/busybodyweb] [busybody] master* ±

Did I find a bug?

-A

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEE%2BrGqrXpoU1DkYf8M6Q_9fk2m_pSqQ_DA5s4SPBT_0exJnXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to