1
--- django/conf/project_template/manage.py 2008-01-14 11:44:56.000000000 +0100
2
+++ django/conf/project_template/manage.py 2008-01-14 11:44:14.000000000 +0100
6
from django.core.management import execute_manager
8
import settings # Assumed to be in the same directory.
9
--- django/core/management.py 2008-01-14 11:45:15.000000000 +0100
10
+++ django/core/management.py 2008-01-14 11:44:14.000000000 +0100
12
path_new = os.path.join(top_dir, relative_dir, f.replace('%s_name' % app_or_project, name))
13
fp_old = open(path_old, 'r')
14
fp_new = open(path_new, 'w')
15
- fp_new.write(fp_old.read().replace('{{ %s_name }}' % app_or_project, name).replace('{{ %s_name }}' % other, other_name))
16
+ fp_new.write(fp_old.read().replace('{{ python_name }}',sys.executable).replace('{{ %s_name }}' % app_or_project, name).replace('{{ %s_name }}' % other, other_name))