lib/django-recipes/recipes/django.rb in django-recipes-1.0.0 vs lib/django-recipes/recipes/django.rb in django-recipes-1.1.0
- old
+ new
@@ -1,8 +1,8 @@
Capistrano::Configuration.instance(:must_exist).load do
namespace :django do
desc "Runs a command from manage.py"
task :manage, :roles => :app do
- run "cd #{app_path}; ./manage.py #{ENV['command']} --settings=#{settings}"
+ run "#{deploy_to}/#{application}/manage.py #{ENV['command']} --settings=#{settings} --pythonpath=#{deploy_to}"
end
end
end
\ No newline at end of file