Ticket #142 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

when running tests syncdb is run without --migrate when SOUTH_TESTS_MIGRATE=True and using Django trunk

Reported by: peimei@… Owned by: andrew
Priority: major Milestone:
Component: commands Version: 0.6-pre
Keywords: Cc:


I've set SOUTH_TESTS_MIGRATE=True in settings and tryed to run ./manage.py tests
The output was:

arikon@sergey-belov:~/projects/bond/src/bond$ ./manage.py test tickets
Creating test database...
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_admin_log
Creating table south_migrationhistory
Installing index for auth.Permission model
Installing index for auth.Message model
Installing index for admin.LogEntry model

 > django.contrib.auth
 > django.contrib.contenttypes
 > django.contrib.sessions
 > django.contrib.admin
 > south

Not synced (use migrations):
 - bond.tickets
(use ./manage.py migrate to migrate these)
Ran 2 tests in 0.005s

That ment that migrations were not run.
That was because of fix in Django: http://code.djangoproject.com/ticket/10080


142.patch (1.6 KB) - added by peimei@… 7 years ago.
Patch that fixes this problem

Change History

Changed 7 years ago by peimei@…

Patch that fixes this problem

comment:1 Changed 7 years ago by andrew

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [244].

Note: See TracTickets for help on using tickets.