Skip to content

Commit bad737d

Browse files
author
Jahrain Jackson
committed
added local_settings to migration command
1 parent 8deb61c commit bad737d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

providers/django.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
include_recipe 'python'
2828

29-
new_resource.migration_command "#{::File.join(new_resource.virtualenv, "bin", "python")} manage.py syncdb --noinput" if !new_resource.migration_command
29+
new_resource.migration_command "#{::File.join(new_resource.virtualenv, "bin", "python")} manage.py syncdb --settings=local_settings --noinput" if !new_resource.migration_command
3030

3131
new_resource.symlink_before_migrate.update({
3232
new_resource.local_settings_base => new_resource.local_settings_file,

0 commit comments

Comments
 (0)