Lets Python migrations run in the same interpreter you invoked schematic with

This commit is contained in:
Kumar McMillan 2011-09-26 17:58:04 -05:00
Родитель 3ad7fb6dce
Коммит d2f8c2747f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -28,4 +28,4 @@ else:
db = s.format(**config)
table = 'schema_version'
handlers = {'.py': 'python2.6 -B manage.py runscript migrations.%s'}
handlers = {'.py': sys.executable + ' -B manage.py runscript migrations.%s'}