Commit 2145ff6d by Calen Pennington

Provide more info when django has issues when running from rake, and don't…

Provide more info when django has issues when running from rake, and don't install dependencies of common/lib/libraries before every run of a django command
parent 471ae42d
...@@ -35,7 +35,7 @@ end ...@@ -35,7 +35,7 @@ end
def django_admin(system, env, command, *args) def django_admin(system, env, command, *args)
django_admin = ENV['DJANGO_ADMIN_PATH'] || select_executable('django-admin.py', 'django-admin') django_admin = ENV['DJANGO_ADMIN_PATH'] || select_executable('django-admin.py', 'django-admin')
return "#{django_admin} #{command} --settings=#{system}.envs.#{env} --pythonpath=. #{args.join(' ')}" return "#{django_admin} #{command} --traceback --settings=#{system}.envs.#{env} --pythonpath=. #{args.join(' ')}"
end end
def report_dir_path(dir) def report_dir_path(dir)
...@@ -53,7 +53,7 @@ default_options = { ...@@ -53,7 +53,7 @@ default_options = {
task :predjango do task :predjango do
sh("find . -type f -name *.pyc -delete") sh("find . -type f -name *.pyc -delete")
sh('pip install -q --upgrade -r local-requirements.txt') sh('pip install -q --upgrade --no-deps -r local-requirements.txt')
end end
task :clean_test_files do task :clean_test_files do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment