summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts/custom_templates/project_template/manage.py
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2012-03-21 22:29:32 +0000
committerJannis Leidel <jannis@leidel.info>2012-03-21 22:29:32 +0000
commit4219e2b7f833171bd24c6dd9802deb9eb7d0bafe (patch)
tree89c66a799be46dc5881a6aacb416ba196503d63c /tests/regressiontests/admin_scripts/custom_templates/project_template/manage.py
parent1101739668f34a19e6e053e3bfdbf062e88db471 (diff)
Fixed #17920 -- Actually pass the full path of a newly created project or app in the template context as mentioned in the startproject docs. Many thanks to Preston Holmes for the initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/admin_scripts/custom_templates/project_template/manage.py')
-rwxr-xr-xtests/regressiontests/admin_scripts/custom_templates/project_template/manage.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/regressiontests/admin_scripts/custom_templates/project_template/manage.py b/tests/regressiontests/admin_scripts/custom_templates/project_template/manage.py
index ad8aafe233..d9843c433f 100755
--- a/tests/regressiontests/admin_scripts/custom_templates/project_template/manage.py
+++ b/tests/regressiontests/admin_scripts/custom_templates/project_template/manage.py
@@ -1 +1,6 @@
-# The manage.py of the {{ project_name }} test project \ No newline at end of file
+# The manage.py of the {{ project_name }} test project
+
+# template context:
+project_name = '{{ project_name }}'
+project_directory = '{{ project_directory }}'
+secret_key = '{{ secret_key }}'