From: Jan Szejko Date: Sun, 31 Jan 2016 00:23:46 +0000 (+0100) Subject: minor fix in compiling messages via fabric X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/4b98a57e07c61b12f9febe0d452901c1e2d7bfc1?hp=6c0f80a0b436aa78f3245c5a0b10d5d49a9a7dec minor fix in compiling messages via fabric --- diff --git a/fabfile.py b/fabfile.py index bd685c652..a9e621d78 100644 --- a/fabfile.py +++ b/fabfile.py @@ -34,7 +34,7 @@ def compile_messages(): print '>>> compiling messages' require('app_path', 'project_name') with cd(get_django_root_path('current')): - run('%(ve)s/bin/python manage.py localepack -c' % env, pty=True) + run('source %(ve)s/bin/activate && python manage.py localepack -c' % env, pty=True) @task