use home path expansion for virtualenv param in django_manage module

reviewable/pr18780/r1
danxshap 11 years ago
parent 003c86e250
commit b8a43a37f0

@ -131,7 +131,7 @@ def _ensure_virtualenv(module):
virtualenv = module.get_bin_path('virtualenv', True)
vbin = os.path.join(venv_param, 'bin')
vbin = os.path.join(os.path.expanduser(venv_param), 'bin')
activate = os.path.join(vbin, 'activate')
if not os.path.exists(activate):

Loading…
Cancel
Save