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=-c minor fix in compiling messages via fabric --- 4b98a57e07c61b12f9febe0d452901c1e2d7bfc1 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